diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-06-02 13:45:50 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-06-02 13:45:50 +0000 |
commit | c2757a0ecfaa7337c34370b831ec7c739ff93e89 (patch) | |
tree | 86a281bc59fe6b6be1184743b8f3f9ea51ba4b69 /tests/labeled_axis_test.php | |
parent | 31cb0eb397f4d80399babad913d948798283d3e2 (diff) | |
download | zetacomponents-graph-c2757a0ecfaa7337c34370b831ec7c739ff93e89.zip zetacomponents-graph-c2757a0ecfaa7337c34370b831ec7c739ff93e89.tar.gz |
- Added additional option labelPadding to axis to get labels out of the axis.
Diffstat (limited to 'tests/labeled_axis_test.php')
-rw-r--r-- | tests/labeled_axis_test.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/labeled_axis_test.php b/tests/labeled_axis_test.php index 657a7fa..dbc90eb 100644 --- a/tests/labeled_axis_test.php +++ b/tests/labeled_axis_test.php @@ -458,30 +458,30 @@ class ezcGraphLabeledAxisTest extends ezcTestCase ->expects( $this->at( 2 ) ) ->method( 'drawTextBox' ) ->with( - $this->equalTo( new ezcGraphCoordinate( 120, 190 ) ), + $this->equalTo( new ezcGraphCoordinate( 122, 192 ) ), $this->equalTo( '2000' ), - $this->equalTo( 120 ), - $this->equalTo( 10 ), + $this->equalTo( 118 ), + $this->equalTo( 8 ), $this->equalTo( ezcGraph::LEFT | ezcGraph::TOP ) ); $mockedRenderer ->expects( $this->at( 3 ) ) ->method( 'drawTextBox' ) ->with( - $this->equalTo( new ezcGraphCoordinate( 240, 190 ) ), + $this->equalTo( new ezcGraphCoordinate( 242, 192 ) ), $this->equalTo( '2001' ), - $this->equalTo( 120 ), - $this->equalTo( 10 ), + $this->equalTo( 118 ), + $this->equalTo( 8 ), $this->equalTo( ezcGraph::LEFT | ezcGraph::TOP ) ); $mockedRenderer ->expects( $this->at( 4 ) ) ->method( 'drawTextBox' ) ->with( - $this->equalTo( new ezcGraphCoordinate( 361, 190 ) ), + $this->equalTo( new ezcGraphCoordinate( 363, 192 ) ), $this->equalTo( '2002' ), - $this->equalTo( 120 ), - $this->equalTo( 10 ), + $this->equalTo( 118 ), + $this->equalTo( 8 ), $this->equalTo( ezcGraph::LEFT | ezcGraph::TOP ) ); |