diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-07-13 17:33:46 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-07-13 17:33:46 +0000 |
commit | 14f4f83b181822bb65c55ca76eb0e28157ba43b4 (patch) | |
tree | 576656980d94b2ddcf05d3f1c4784a336c1971ce /src | |
parent | 70674b102034998db08071c26e6ff0f801d4c1b9 (diff) | |
download | zetacomponents-graph-14f4f83b181822bb65c55ca76eb0e28157ba43b4.zip zetacomponents-graph-14f4f83b181822bb65c55ca76eb0e28157ba43b4.tar.gz |
- Fixed pie chart labeling
- Fixed some test cases
Diffstat (limited to 'src')
-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] ); } |