diff options
Diffstat (limited to 'design/design.txt')
-rw-r--r-- | design/design.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/design/design.txt b/design/design.txt index a4e0b05..267750c 100644 --- a/design/design.txt +++ b/design/design.txt @@ -96,7 +96,7 @@ The following example shows how to use the class: :: <?php - $pie = ezcGraph::create( 'Pie' ); + $pie = new ezcGraphPieChart(); $pie->options->backgroundImage = 'background.png'; $pie->options->border->color = '#ff0000'; $pie->title = 'Apple Pie'; @@ -106,7 +106,7 @@ The following example shows how to use the class: :: $pie['humanoids']->highlight( 'monkey' ); // chart type dependent - $line = ezcGraph::create( 'Line' ); + $line = new ezcGraphLineChart(); $line->options->backgroundColor = 'pink'; $line['income'] = array( 1990 => 5, 5.1, 5.4, 5.3, 6.9 ); |