diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-05-19 15:26:29 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-05-19 15:26:29 +0000 |
commit | 8231d5da5ceadd3f04cc52d526a838da09e034c2 (patch) | |
tree | 3fd0318d204889da496aa7265192318786ea0c70 /tests/labeled_axis_test.php | |
parent | 559f33a133a5b7d3f19afcd618fbc2e8e9ec3ade (diff) | |
download | zetacomponents-graph-8231d5da5ceadd3f04cc52d526a838da09e034c2.zip zetacomponents-graph-8231d5da5ceadd3f04cc52d526a838da09e034c2.tar.gz |
- Refactored rendering methods
- Refactored chart title to be a chartelement
Diffstat (limited to 'tests/labeled_axis_test.php')
-rw-r--r-- | tests/labeled_axis_test.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/labeled_axis_test.php b/tests/labeled_axis_test.php index 0f8c274..2f9c9c2 100644 --- a/tests/labeled_axis_test.php +++ b/tests/labeled_axis_test.php @@ -56,7 +56,7 @@ class ezcGraphLabeledAxisTest extends ezcTestCase { $chart = ezcGraph::create( 'Line' ); $chart->sample = array( 2000 => 20, 70, 12, 130 ); - $chart->render(); + $chart->render( 500, 200 ); } catch ( Exception $e ) { @@ -81,7 +81,7 @@ class ezcGraphLabeledAxisTest extends ezcTestCase $chart = ezcGraph::create( 'Line' ); $chart->sample = array( 2000 => 1045, 1300, 1012, 1450 ); $chart->sample2 = array( 2002 => 1270, 1170, 1610, 1370 ); - $chart->render(); + $chart->render( 500, 200 ); } catch ( Exception $e ) { @@ -108,7 +108,7 @@ class ezcGraphLabeledAxisTest extends ezcTestCase $chart = ezcGraph::create( 'Line' ); $chart->sample = array( 2000 => 1045, 2001 => 1300, 2004 => 1012, 2006 => 1450 ); $chart->sample2 = array( 2001 => 1270, 1170, 1610, 1370, 1559 ); - $chart->render(); + $chart->render( 500, 200 ); } catch ( Exception $e ) { |