diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2008-11-18 10:24:04 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2008-11-18 10:24:04 +0000 |
commit | 45ab6746206b7fcdd93ae5d51f6963c9678cc6a5 (patch) | |
tree | 2ce28ec74c5e5502137c51e3daf7cbecab977a5d /src/interfaces | |
parent | f0f525723cef5690750dc5293a669eb107356145 (diff) | |
download | zetacomponents-graph-45ab6746206b7fcdd93ae5d51f6963c9678cc6a5.zip zetacomponents-graph-45ab6746206b7fcdd93ae5d51f6963c9678cc6a5.tar.gz |
- Documented setDriver
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/renderer.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/interfaces/renderer.php b/src/interfaces/renderer.php index 55c0ceb..e0000bb 100644 --- a/src/interfaces/renderer.php +++ b/src/interfaces/renderer.php @@ -48,7 +48,16 @@ abstract class ezcGraphRenderer /** * Set renderers driver - * + * + * This method is used internally to set the direver used inside the chart + * class in the renderer. If you want to change the driver used for your + * chart, you should do this using the chart driver property, like: + * + * <code> + * $chart = new ezcGraphPieChart(); + * $chart->driver = new ezcGraphSvgDriver(); + * </code> + * * @param ezcGraphDriver $driver Output driver * @return void */ |