summaryrefslogtreecommitdiffstats
path: root/design
diff options
context:
space:
mode:
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