Re: statistical-charts: line charts with several lines
Pablo Rodriguez via ntg-context <[email protected]>
| Newsgroups | gmane.comp.tex.context |
|---|---|
| Message-ID | <[email protected]> |
On 10/8/25 09:38, Henning Hraban Ramm wrote:
> […]
> \chart[line][basic][
> xunit=Year,
> yunit=Millions of …,
> axesunits=yes,
> ][
> data={7.25,2,9,3,6,5}, % works
> %data={{7.25,2,9,3,6,5},{0.1,0.1,0.2,0.01,0.3,0.5}}, % doesn’t
Hi Hraban,
the commented line seems to require `method=struct` to accept that input.
> […]
> \startluacode
> context.linechart({"basic"},{
> xunit = "Year",
> yunit = "Millions of …",
> axesunits = "yes",
> },{
> data = {7.25,2,9,3,6,5},
`method=struct` prevents the error, but no data (or xlabels) shown.
I have only use the module once, so I have no idea how to get that working.
Just in case it might help,
Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________