diff options
-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} |