diff options
author | Xu Yuan <xu@informatik.hu-berlin.de> | 2011-10-01 20:58:38 +0200 |
---|---|---|
committer | Xu Yuan <xu@informatik.hu-berlin.de> | 2011-10-01 20:58:38 +0200 |
commit | 28fa4141006893c2724058bb1f093a9e42b8eb59 (patch) | |
tree | 1f90da867912aa41916bf650f3bea48c96a44ca3 | |
parent | 867ed74fe91e548f9458d897699fa6ba7bb83d91 (diff) | |
download | pgf-pie-28fa4141006893c2724058bb1f093a9e42b8eb59.tar.gz pgf-pie-28fa4141006893c2724058bb1f093a9e42b8eb59.tar.bz2 pgf-pie-28fa4141006893c2724058bb1f093a9e42b8eb59.zip |
example of sum
-rw-r--r-- | dev/demo/sum.tex | 4 | ||||
-rw-r--r-- | dev/pgf-pie-manual.tex | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/dev/demo/sum.tex b/dev/demo/sum.tex index 94fd88b..13e2b73 100644 --- a/dev/demo/sum.tex +++ b/dev/demo/sum.tex @@ -1,3 +1,5 @@ \begin{tikzpicture} - \pie[sum=auto, after number=, radius=2]{33/Boy, 7/Girl} + \pie[sum=auto, after number=, radius=2]{33/Boys, 7/Girls} + + \pie[pos={6,0}, sum=40, after number=, radius=2]{33/Boys} \end{tikzpicture}
\ No newline at end of file diff --git a/dev/pgf-pie-manual.tex b/dev/pgf-pie-manual.tex index 0d5a2ea..4138749 100644 --- a/dev/pgf-pie-manual.tex +++ b/dev/pgf-pie-manual.tex @@ -111,8 +111,11 @@ The value of \texttt{text} can be \texttt{label}(default) or \demo[0.6]{text} \subsection{Sum} +The value of \texttt{sum} indicats the sum of all data in the chart, +it is 100 by default. It can be calculated automatically when +\texttt{auto} is set. -\demo[0.6]{sum} +\demo{sum} \subsection{Color} \demo{color} |