[NTG-context] PiechartMP module and SetupPercent

batela batela at tugamail.com
Fri Oct 3 19:04:42 CEST 2008


Dear Sirs,

I want to include in my document some nice pie charts with the 
piechartmp module, but i'm find some problems in set the percent 
symbol. The sentence SetupPercent( this, "%")   don't work. Did you 
know a way to fix that?

Thanks a lot

best regards


\startreusableMPgraphic{P1}
  input piechartmp;
SetupColors((.7, .7),this, this);
SetupPercent( this, "%") ;
Segment( 50, "first") ;
Segment( 30, "second") ;
Segment( 10, "third") ;
PieChart(4cm, 0.15, 60, 0, 0) ;
Label.auto(0)(name)(outwards,0) ;
Label(1,2,3)(percent)(inwards,0) withcolor (1,1,0);
\stopreusableMPgraphic



More information about the ntg-context mailing list