diff options
Diffstat (limited to 'src/charts')
-rw-r--r-- | src/charts/pie.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charts/pie.php b/src/charts/pie.php index 0abf6a8..f886c36 100644 --- a/src/charts/pie.php +++ b/src/charts/pie.php @@ -72,7 +72,7 @@ class ezcGraphPieChart extends ezcGraphChart $dataset->color[$label], $angle, $angle += $value / $sum * 360, - sprintf( $this->options->label, $label, $value, $sum / $value * 100 ), + sprintf( $this->options->label, $label, $value, $value / $sum * 100 ), $dataset->highlight[$label] ); } |