From: batela <batela@tugamail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: PiechartMP module and SetupPercent
Date: Fri, 3 Oct 2008 18:04:42 +0100 [thread overview]
Message-ID: <57d9b8f0801a76f042549c00838d3b57@tugamail.com> (raw)
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
___________________________________________________________________________________
reply other threads:[~2008-10-03 17:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57d9b8f0801a76f042549c00838d3b57@tugamail.com \
--to=batela@tugamail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).