diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2009-02-04 22:00:43 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2009-02-04 22:00:43 +0000 |
commit | 6b4d7c7cffd86e0110ccb9aee9959e63ef0717d4 (patch) | |
tree | e7d79cec71b54070cf2a21eef8a6530c0fa96094 /tests/background_test.php | |
parent | 3b6a1ee726cc296a48f334e46f0a786ee2ad9847 (diff) | |
download | zetacomponents-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.php | 11 |
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(); |