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
Main;Secondary
15.6;16
14.8;14.8
16.4;15.7
14.8;14.8
13.9;13.8
15.1;14.7
13.5;13.7
13.3;13.6
14.9;13.9
13.6;13.9
13.6;12.8
15.6;14.4
13.8;13.7
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to