summaryrefslogtreecommitdiffstats
path: root/tests/palette_test.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-06-06 15:36:18 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-06-06 15:36:18 +0000
commit20973d01d5039a28bcf2c3ee790e1bf521965016 (patch)
tree23b5d1ebde5d9b2cf685ff773718cd0b51f009b8 /tests/palette_test.php
parent4bb4e17c7bf4a45898c9c822be710891a452bd50 (diff)
downloadzetacomponents-graph-20973d01d5039a28bcf2c3ee790e1bf521965016.zip
zetacomponents-graph-20973d01d5039a28bcf2c3ee790e1bf521965016.tar.gz
- Draw background and border for charts
- Added padding for charts
Diffstat (limited to 'tests/palette_test.php')
-rw-r--r--tests/palette_test.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/palette_test.php b/tests/palette_test.php
index 86838fd..2abe558 100644
--- a/tests/palette_test.php
+++ b/tests/palette_test.php
@@ -297,7 +297,7 @@ class ezcGraphPaletteTest extends ezcTestCase
}
$this->assertEquals(
- ezcGraphColor::fromHex( '#BABDB6' ),
+ ezcGraphColor::fromHex( '#000000FF' ),
$chart->palette->chartBorderColor,
'Border color not properly set.'
);
@@ -315,7 +315,7 @@ class ezcGraphPaletteTest extends ezcTestCase
}
$this->assertEquals(
- 1,
+ 0,
$chart->palette->chartBorderWidth,
'Border width not properly set.'
);
@@ -333,7 +333,7 @@ class ezcGraphPaletteTest extends ezcTestCase
}
$this->assertEquals(
- ezcGraphColor::fromHex( '#BABDB6' ),
+ ezcGraphColor::fromHex( '#000000FF' ),
$chart->palette->elementBorderColor,
'Border color not properly set.'
);
@@ -453,7 +453,7 @@ class ezcGraphPaletteTest extends ezcTestCase
}
$this->assertEquals(
- ezcGraphColor::fromHex( '#BABDB6' ),
+ ezcGraphColor::fromHex( '#000000FF' ),
$chart->legend->border,
'Chart background not set from pallet.'
);
OpenPOWER on IntegriCloud