On 7/24/2021 12:04 AM, Jorge Manuel wrote:
Dear Hans
I think this is a very important piece of code (https://akela.mendelu.cz/~thala/statcharts/). Unfortunately it still doesn't work with lmtx. As I need to make graphics, I keep waiting for its compatibility with lmtx.
Thanks for your time and support. Have a great day and, please, live forever. Your ideas and your work are just amazing. This works ok here:
\startprotectedcolors \usemodule[statistical-charts] \stopprotectedcolors \starttext \def\citizenshipdatatwo {{13,19,34,20,36},{10,19,11,10,11},{21,10,18,10,10}} \def\yearlabelsone {2014,2015,2016,2017,2018} \areachart [basic] [yscale=0.2, xscale=1.6, distance=2, xgridlinesdensity=2, fillpalette=turquoise, line=no, dotscolor=shamrock, dotswidth=8, axesunits=yes, xunit=Year, yunit=Number of citizenships] [method=struct, data={\citizenshipdatatwo}, xlabels={\yearlabelsone}] \stoptext you need to put the modules under tex/texmf-modules/tex/context/third/mkiv/statcharts or so, and run 'mtxrun --generate' to updat ethe file database (i didn't check of there was a module package on the garden) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------