summaryrefslogtreecommitdiffstats
path: root/src/charts
diff options
context:
space:
mode:
Diffstat (limited to 'src/charts')
-rw-r--r--src/charts/pie.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/charts/pie.php b/src/charts/pie.php
index 2201ac7..eb7539c 100644
--- a/src/charts/pie.php
+++ b/src/charts/pie.php
@@ -145,6 +145,11 @@ class ezcGraphPieChart extends ezcGraphChart
$unset = array();
foreach ( $dataset as $label => $value )
{
+ if ( $label === $this->options->summarizeCaption )
+ {
+ continue;
+ }
+
if ( ( $value <= $this->options->absoluteThreshold ) ||
( ( $value / $sum ) <= $this->options->percentThreshold ) )
{
OpenPOWER on IntegriCloud