diff options
Diffstat (limited to 'dev')
-rw-r--r-- | dev/demo/colorwheel.tex | 3 | ||||
-rw-r--r-- | dev/pgf-pie-manual.tex | 12 | ||||
-rw-r--r-- | dev/pgf-pie.sty | 4 |
3 files changed, 18 insertions, 1 deletions
diff --git a/dev/demo/colorwheel.tex b/dev/demo/colorwheel.tex new file mode 100644 index 0000000..1543fbe --- /dev/null +++ b/dev/demo/colorwheel.tex @@ -0,0 +1,3 @@ +\begin{tikzpicture} + \pie{10/, 10/, 10/, 10/, 10/, 10/, 10/, 10/, 10/, 10/} +\end{tikzpicture}
\ No newline at end of file diff --git a/dev/pgf-pie-manual.tex b/dev/pgf-pie-manual.tex index 4d19ce7..b8acc99 100644 --- a/dev/pgf-pie-manual.tex +++ b/dev/pgf-pie-manual.tex @@ -121,8 +121,20 @@ it is 100 by default. It can be calculated automatically when \demo{sum} \subsection{Color} +The color can be specified by \texttt{color}, the default color wheel +is shown in figure \ref{fig:color-wheel}. + \demo{color} + +\begin{figure} + \centering + \input{demo/colorwheel} + \caption{Default color wheel} + \label{fig:color-wheel} +\end{figure} + + \subsection{Style} \subsubsection{shadow} \demo[0.6]{shadow} diff --git a/dev/pgf-pie.sty b/dev/pgf-pie.sty index cb982b8..0fa3b26 100644 --- a/dev/pgf-pie.sty +++ b/dev/pgf-pie.sty @@ -85,7 +85,9 @@ chart by using PGF/Tikz package.] { \pgfkeys{ explode=0, - color={blue!60, cyan!60, yellow!60, orange!60, red!60}, + color={blue!60, cyan!60, yellow!60, orange!60, red!60, + blue!60!cyan!60, cyan!60!yellow!60, red!60!cyan!60, + red!60!blue!60, orange!60!cyan!60}, radius=3, pos={0,0}, style={thick}, |