[NTG-context] Changing the colors of Charts in luametafun

Hans Hagen j.hagen at xs4all.nl
Sun Oct 18 19:04:50 CEST 2020


On 10/16/2020 3:34 PM, Jan U. Hasecke wrote:
> 
> Hi,
> 
> as I'll need to make some business charts in the near future I had a
> look into metafun xl.
> 
> Here is the first example:
> 
> \startMPcode
> draw lmt_chart_circle [
> samples
> = { { 1, 4, 3, 2, 5, 7, 6 } },
> percentage = true,
> trace
> = true,
> ] ;
> \stopMPcode
> 
> How can I change the colors used for the sample?

     fillcolors = {
         "red", "green", "blue",
         "yellow", "magenta", "cyan",
         "gray"
     },

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list