Fix decimal representation in pie chart
This commit is contained in:
parent
02ff3ec220
commit
1dab0d748f
@ -95,8 +95,8 @@
|
||||
|
||||
% Draw slice
|
||||
\setcounter{pieSliceA}{\thepieSliceB}
|
||||
\addtocounter{pieSliceB}{\value}
|
||||
\slice{\thepieSliceA/100*360}{\thepieSliceB/100*360}{\value\%}{\category}
|
||||
\addtocounter{pieSliceB}{10*\real{\value}}
|
||||
\slice{\thepieSliceA/1000*360}{\thepieSliceB/1000*360}{\value\%}{\category}
|
||||
{pieColor\thepieElem}{pieTextColor\thepieElem}
|
||||
|
||||
\stepcounter{pieElem}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user