* Percentage stacked bars chart [not found] <8c289546-4c93-4e25-b6bd-aad1200b6553@Spark> @ 2021-07-23 14:43 ` Jorge Manuel 2021-07-23 16:01 ` Hans Hagen 0 siblings, 1 reply; 7+ messages in thread From: Jorge Manuel @ 2021-07-23 14:43 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 176 bytes --] Dear Sirs, Is there a way (out of the box) to draw percentage stacked bars chart with metapost or MetaFun xl? Thanks for your time and support. Jorge Magalhães [-- Attachment #1.2: Type: text/html, Size: 603 bytes --] [-- Attachment #2: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Percentage stacked bars chart 2021-07-23 14:43 ` Percentage stacked bars chart Jorge Manuel @ 2021-07-23 16:01 ` Hans Hagen 2021-07-23 22:04 ` Jorge Manuel 0 siblings, 1 reply; 7+ messages in thread From: Hans Hagen @ 2021-07-23 16:01 UTC (permalink / raw) To: mailing list for ConTeXt users, Jorge Manuel On 7/23/2021 4:43 PM, Jorge Manuel wrote: > Dear Sirs, > > Is there a way (out of the box) to draw percentage stacked bars chart > with metapost or MetaFun xl? > > Thanks for your time and support. you can have a look at https://akela.mendelu.cz/~thala/statcharts/ (at some point i'll see if i can add a lmtx interface but first i want lmtx to be stable) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Percentage stacked bars chart 2021-07-23 16:01 ` Hans Hagen @ 2021-07-23 22:04 ` Jorge Manuel 2021-07-24 7:36 ` Hans Hagen 0 siblings, 1 reply; 7+ messages in thread From: Jorge Manuel @ 2021-07-23 22:04 UTC (permalink / raw) To: mailing list for ConTeXt users, Hans Hagen [-- Attachment #1.1: Type: text/plain, Size: 1137 bytes --] 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. Jorge Magalhães On 23 Jul 2021, 17:01 +0100, Hans Hagen <j.hagen@xs4all.nl>, wrote: > On 7/23/2021 4:43 PM, Jorge Manuel wrote: > > Dear Sirs, > > > > Is there a way (out of the box) to draw percentage stacked bars chart > > with metapost or MetaFun xl? > > > > Thanks for your time and support. > you can have a look at > > https://akela.mendelu.cz/~thala/statcharts/ > > (at some point i'll see if i can add a lmtx interface but first i want > lmtx to be stable) > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- [-- Attachment #1.2: Type: text/html, Size: 1926 bytes --] [-- Attachment #2: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Percentage stacked bars chart 2021-07-23 22:04 ` Jorge Manuel @ 2021-07-24 7:36 ` Hans Hagen 2021-07-24 8:13 ` Jorge Manuel 0 siblings, 1 reply; 7+ messages in thread From: Hans Hagen @ 2021-07-24 7:36 UTC (permalink / raw) To: Jorge Manuel, mailing list for ConTeXt users 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 ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Percentage stacked bars chart 2021-07-24 7:36 ` Hans Hagen @ 2021-07-24 8:13 ` Jorge Manuel 2021-07-24 8:37 ` Wolfgang Schuster 0 siblings, 1 reply; 7+ messages in thread From: Jorge Manuel @ 2021-07-24 8:13 UTC (permalink / raw) To: mailing list for ConTeXt users, Hans Hagen [-- Attachment #1.1: Type: text/plain, Size: 183 bytes --] Good Morning, The code sent by Hans doesn't work for me. Maybe it's my context tree. I've already emailed the authors. Floris, thanks for the suggestion. Jorge Magalhães [-- Attachment #1.2: Type: text/html, Size: 596 bytes --] [-- Attachment #2: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Percentage stacked bars chart 2021-07-24 8:13 ` Jorge Manuel @ 2021-07-24 8:37 ` Wolfgang Schuster 2021-07-24 9:44 ` Jorge Manuel 0 siblings, 1 reply; 7+ messages in thread From: Wolfgang Schuster @ 2021-07-24 8:37 UTC (permalink / raw) To: mailing list for ConTeXt users Jorge Manuel schrieb am 24.07.2021 um 10:13: > Good Morning, > > The code sent by Hans doesn't work for me. Maybe it's my context tree. I tried the first example from the manual and also Hans example and both worked for me. Did you download all 3 files which are needed? - t-readdata.lua - t-statistical-charts.lua - t-statistical-charts.mkiv Does it work when you put the files and a document in the same folder? Can you show use your error message. Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Percentage stacked bars chart 2021-07-24 8:37 ` Wolfgang Schuster @ 2021-07-24 9:44 ` Jorge Manuel 0 siblings, 0 replies; 7+ messages in thread From: Jorge Manuel @ 2021-07-24 9:44 UTC (permalink / raw) To: mailing list for ConTeXt users, Wolfgang Schuster [-- Attachment #1.1: Type: text/plain, Size: 176 bytes --] Fixed Thanks Wolfgang, Floris and Hans I think the problem was with some hidden extension in the filenames. After using wget, everything worked ok. Jorge Magalhães [-- Attachment #1.2: Type: text/html, Size: 595 bytes --] [-- Attachment #2: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-07-24 9:44 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <8c289546-4c93-4e25-b6bd-aad1200b6553@Spark> 2021-07-23 14:43 ` Percentage stacked bars chart Jorge Manuel 2021-07-23 16:01 ` Hans Hagen 2021-07-23 22:04 ` Jorge Manuel 2021-07-24 7:36 ` Hans Hagen 2021-07-24 8:13 ` Jorge Manuel 2021-07-24 8:37 ` Wolfgang Schuster 2021-07-24 9:44 ` Jorge Manuel
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).