summaryrefslogtreecommitdiffstats
path: root/src/interfaces
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2009-02-25 13:23:01 +0000
committerKore Nordmann <github@kore-nordmann.de>2009-02-25 13:23:01 +0000
commit315ef1f26d86d573a2443d6c23dbbdf6e699ebbb (patch)
tree2b45080a8d50f56b35e1c4110ee5d834e4c02c97 /src/interfaces
parent2345258851514b82300d66c8b07aa6ba8c076f61 (diff)
downloadzetacomponents-graph-315ef1f26d86d573a2443d6c23dbbdf6e699ebbb.zip
zetacomponents-graph-315ef1f26d86d573a2443d6c23dbbdf6e699ebbb.tar.gz
- Implemented feature #14400: Add shortcut to set background color
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/chart.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/chart.php b/src/interfaces/chart.php
index a67e104..3c3088d 100644
--- a/src/interfaces/chart.php
+++ b/src/interfaces/chart.php
@@ -136,6 +136,9 @@ abstract class ezcGraphChart
$this->elements[$propertyName]->title = $propertyValue;
$this->renderElement[$propertyName] = true;
break;
+ case 'background':
+ $this->elements[$propertyName]->color = $propertyValue;
+ break;
case 'legend':
if ( !is_bool( $propertyValue ) )
{
OpenPOWER on IntegriCloud