ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* PiechartMP module and SetupPercent
@ 2008-10-03 17:04 batela
  0 siblings, 0 replies; only message in thread
From: batela @ 2008-10-03 17:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-03 17:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-03 17:04 PiechartMP module and SetupPercent batela

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).