summaryrefslogtreecommitdiffstats
path: root/src/charts
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2007-04-26 12:51:55 +0000
committerKore Nordmann <github@kore-nordmann.de>2007-04-26 12:51:55 +0000
commit6f37572b09e427428c9c50f2a325163ad29ba0a2 (patch)
tree2242bd28f3cfed0460cb01ed9933ffcd273b4cdf /src/charts
parent1f98a107eef3f2208f7b409f085057cf78662991 (diff)
downloadzetacomponents-graph-6f37572b09e427428c9c50f2a325163ad29ba0a2.zip
zetacomponents-graph-6f37572b09e427428c9c50f2a325163ad29ba0a2.tar.gz
- Created an interface ezcGraphRadarRenderer to be implemented by renderers
which are able to render radar charts. # Interface required to not break BC with custom user renderers
Diffstat (limited to 'src/charts')
-rw-r--r--src/charts/radar.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/charts/radar.php b/src/charts/radar.php
index d545697..a3913ba 100644
--- a/src/charts/radar.php
+++ b/src/charts/radar.php
@@ -118,6 +118,16 @@ class ezcGraphRadarChart extends ezcGraphChart
throw new ezcBaseValueException( $propertyName, $propertyValue, 'ezcGraphChartElementAxis' );
}
break;
+ case 'renderer':
+ if ( $propertyValue instanceof ezcGraphRadarRenderer )
+ {
+ parent::__set( $propertyName, $propertyValue );
+ }
+ else
+ {
+ throw new ezcBaseValueException( $propertyName, $propertyValue, 'ezcGraphRadarRenderer' );
+ }
+ break;
default:
parent::__set( $propertyName, $propertyValue );
}
OpenPOWER on IntegriCloud