summaryrefslogtreecommitdiffstats
path: root/src/charts/pie.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/charts/pie.php')
-rw-r--r--src/charts/pie.php2
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]
);
}
OpenPOWER on IntegriCloud