summaryrefslogtreecommitdiffstats
path: root/design
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-05-08 07:38:24 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-05-08 07:38:24 +0000
commit2ec481fc479ba898c9b4506cdeb9450887a3fa57 (patch)
treedc859b95781e71e5f529149b27b44e6a516e99f3 /design
parent6207fc1ece307264f8e9e877edfade373f6da1f3 (diff)
downloadzetacomponents-graph-2ec481fc479ba898c9b4506cdeb9450887a3fa57.zip
zetacomponents-graph-2ec481fc479ba898c9b4506cdeb9450887a3fa57.tar.gz
- Added class stubs for ezcGraph
Diffstat (limited to 'design')
-rw-r--r--design/design.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/design/design.txt b/design/design.txt
index c41e758..83e5c4e 100644
--- a/design/design.txt
+++ b/design/design.txt
@@ -17,7 +17,7 @@ type.
Classes
-------
-ezcGraphManager
+ezcGraph
Controller for the generated graphs. Offers factory methods for the other
classes, handles and dispatches the configuration and actions to the other
classes.
@@ -120,6 +120,11 @@ The following example shows how to use the class: ::
// Create a new averaging line
$line->averageIncome = ezcDataSetAverage::createFrom($line->income[, options]);
+ $line->renderer = new ezcGraphRenderer2D();
+ $line->driver = new ezcGraphGDDriver();
+
+ $line->render('file.png');
+
?>
OpenPOWER on IntegriCloud