On 12/3/2025 9:03 PM, [email protected] wrote:
How can I change the default colors of the chart?
\startMPpage
draw lmt_chart_circle [
samples = { { 80, 20 } },
fillcolors = { "darkred", "darkblue" },
percentage = true,
labelcolor = "white",
labelformat = "@0.1f\percent"
] ;
\stopMPpage
-----------------------------------------------------------------
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 : [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
___________________________________________________________________________________