summaryrefslogtreecommitdiffstats
path: root/src/charts/pie.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-07-11 13:02:34 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-07-11 13:02:34 +0000
commit4421f0a20cb574fe4019dbbb115934a2403def2f (patch)
treef91be171956321f497bacfc5af0647aea9fdb202 /src/charts/pie.php
parenta223386e62e97e09cef59275788ccd0d2b34cc81 (diff)
downloadzetacomponents-graph-4421f0a20cb574fe4019dbbb115934a2403def2f.zip
zetacomponents-graph-4421f0a20cb574fe4019dbbb115934a2403def2f.tar.gz
- Fixed pie chart labeling
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 d163238..0abf6a8 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,
- $label,
+ sprintf( $this->options->label, $label, $value, $sum / $value * 100 ),
$dataset->highlight[$label]
);
}
OpenPOWER on IntegriCloud