From fae953847fad0282cfe50b75bd7a379d1754ce70 Mon Sep 17 00:00:00 2001 From: Kore Nordmann Date: Mon, 23 Oct 2006 17:54:23 +0000 Subject: - Fixed sorting order of 2d bar chart elements. --- .../ezcGraphRenderer2dTest_testRenderFilledLineBarChart.svg | 2 +- tests/renderer_2d_test.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/data/compare/ezcGraphRenderer2dTest_testRenderFilledLineBarChart.svg b/tests/data/compare/ezcGraphRenderer2dTest_testRenderFilledLineBarChart.svg index 07351d9..b96b148 100644 --- a/tests/data/compare/ezcGraphRenderer2dTest_testRenderFilledLineBarChart.svg +++ b/tests/data/compare/ezcGraphRenderer2dTest_testRenderFilledLineBarChart.svg @@ -1,2 +1,2 @@ -Line 0Line 1Line 2sample 1sample 2sample 3sample 4sample 50250500750 +Line 0Line 1Line 2sample 1sample 2sample 3sample 4sample 50250500750 diff --git a/tests/renderer_2d_test.php b/tests/renderer_2d_test.php index 8b5bfad..8feedeb 100644 --- a/tests/renderer_2d_test.php +++ b/tests/renderer_2d_test.php @@ -370,10 +370,10 @@ class ezcGraphRenderer2dTest extends ezcTestCase ->method( 'drawPolygon' ) ->with( $this->equalTo( array( - new ezcGraphCoordinate( 202.5, 0. ), - new ezcGraphCoordinate( 202.5, 40. ), - new ezcGraphCoordinate( 242.5, 40. ), - new ezcGraphCoordinate( 242.5, 0. ), + new ezcGraphCoordinate( 157.5, 0. ), + new ezcGraphCoordinate( 157.5, 40. ), + new ezcGraphCoordinate( 197.5, 40. ), + new ezcGraphCoordinate( 197.5, 0. ), ), 1. ), $this->equalTo( ezcGraphColor::fromHex( '#FF0000' ) ), $this->equalTo( 1 ) -- cgit v1.1