summaryrefslogtreecommitdiffstats
path: root/src/interfaces/chart.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/chart.php')
-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