summaryrefslogtreecommitdiffstats
path: root/tests/background_test.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2009-02-04 22:00:43 +0000
committerKore Nordmann <github@kore-nordmann.de>2009-02-04 22:00:43 +0000
commit6b4d7c7cffd86e0110ccb9aee9959e63ef0717d4 (patch)
treee7d79cec71b54070cf2a21eef8a6530c0fa96094 /tests/background_test.php
parent3b6a1ee726cc296a48f334e46f0a786ee2ad9847 (diff)
downloadzetacomponents-graph-6b4d7c7cffd86e0110ccb9aee9959e63ef0717d4.zip
zetacomponents-graph-6b4d7c7cffd86e0110ccb9aee9959e63ef0717d4.tar.gz
- Tested: Setting background property in line chart
Diffstat (limited to 'tests/background_test.php')
-rw-r--r--tests/background_test.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/background_test.php b/tests/background_test.php
index 4e60236..62aca3e 100644
--- a/tests/background_test.php
+++ b/tests/background_test.php
@@ -98,6 +98,17 @@ class ezcGraphBackgroundTest extends ezcGraphTestCase
);
}
+ public function testSetOptionsBorderLineChart()
+ {
+ $lineChart = new ezcGraphLineChart();
+ $lineChart->background->border = '#FF0000';
+
+ $this->assertEquals(
+ ezcGraphColor::fromHex( 'FF0000' ),
+ $lineChart->background->border
+ );
+ }
+
public function testSetOptionsBorderWidth()
{
$pieChart = new ezcGraphPieChart();
OpenPOWER on IntegriCloud