[NTG-context] three suggestions for the statistical-charts module

Pablo Rodriguez oinos at gmx.es
Mon Jan 17 17:32:20 CET 2022


Hi Tamara, Adriana and Tomáš,

this is my first sample using statistical-charts (I attach the CSV file):

    \setupbodyfont[helvetica]
    \usemodule[statistical-charts]
    \starttext
    \setupframed[dotslabels][loffset=1.1cc,
    boffset=0.4cc]
    \linechart[basic][yscale=.25, xscale=1,
    distance=1,
    xgridlinesdensity=1,
    fillcolor=aquamarine,
    line=yes, linecolor=shamrock,
    dotscolor=shamrock,
    dotswidth=5, dotslabels=yes,
    axesunits=yes, xunit={Measurements},
    yunit={Temperature}]%
    [method=dataset, dsname=main, filename=\jobname.csv,
    sep=;, cx={A2:A14},
    cy=B2:B14]
    \stoptext

I wonder whether this has been already proposed:

1. If the CSV file contains fields with quotes that the module reads,
compilation breaks. Would it be possible that quotes could be ignored by
the module?

2. Could you add an option to ignore the header (the first row), so that
then "cx=A" cwould work without problems?

3. I haven’t found your module in https://modules.contextgarden.net. I
think it would be great to have it there. Otherwise, users may not know
of its existence.

I have other questions, but this will be addressed in a next message.

Many thanks for your excellent work,

Pablo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.csv
Type: text/csv
Size: 142 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20220117/8792a312/attachment.csv>


More information about the ntg-context mailing list