diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-06-14 13:12:24 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-06-14 13:12:24 +0000 |
commit | aa0997b7670abfc7884f3f3406a56c25b675634b (patch) | |
tree | 59ef8a7af05068bc371cf962212ac17dd8f63f11 /src/charts/pie.php | |
parent | 815444c46accf9b5d6868daef2c5070bbf186476 (diff) | |
download | zetacomponents-graph-aa0997b7670abfc7884f3f3406a56c25b675634b.zip zetacomponents-graph-aa0997b7670abfc7884f3f3406a56c25b675634b.tar.gz |
- Disable rendering of selected chart elements
Diffstat (limited to 'src/charts/pie.php')
-rw-r--r-- | src/charts/pie.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/charts/pie.php b/src/charts/pie.php index 8645c08..67a628f 100644 --- a/src/charts/pie.php +++ b/src/charts/pie.php @@ -212,6 +212,12 @@ class ezcGraphPieChart extends ezcGraphChart // Render subelements foreach ( $this->elements as $name => $element ) { + // Skip element, if it should not get rendered + if ( $this->renderElement[$name] === false ) + { + continue; + } + $this->driver->options->font = $element->font; $boundings = $element->render( $this->renderer, $boundings ); } |