diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-07-11 13:02:34 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-07-11 13:02:34 +0000 |
commit | 4421f0a20cb574fe4019dbbb115934a2403def2f (patch) | |
tree | f91be171956321f497bacfc5af0647aea9fdb202 /src/charts/pie.php | |
parent | a223386e62e97e09cef59275788ccd0d2b34cc81 (diff) | |
download | zetacomponents-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.php | 2 |
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] ); } |