diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2007-10-23 08:21:58 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2007-10-23 08:21:58 +0000 |
commit | 06f5b4609042511a2eaeb4cde920094afcaceb63 (patch) | |
tree | cfcf24aee1f3cb7d0117caff0aa50a521c87acbf | |
parent | 22b4770294341d679fe3ff1f06960c62e0a9f3fe (diff) | |
download | zetacomponents-graph-06f5b4609042511a2eaeb4cde920094afcaceb63.zip zetacomponents-graph-06f5b4609042511a2eaeb4cde920094afcaceb63.tar.gz |
- Changed default value of line thickness
# This value wasn't used yet, so the new default value is the value actually
# used until now.
-rw-r--r-- | src/options/line_chart.php | 2 | ||||
-rw-r--r-- | tests/line_test.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/options/line_chart.php b/src/options/line_chart.php index 1f58e7b..2b32a50 100644 --- a/src/options/line_chart.php +++ b/src/options/line_chart.php @@ -58,7 +58,7 @@ class ezcGraphLineChartOptions extends ezcGraphChartOptions */ public function __construct( array $options = array() ) { - $this->properties['lineThickness'] = 2; + $this->properties['lineThickness'] = 1; $this->properties['fillLines'] = false; $this->properties['symbolSize'] = 8; $this->properties['highlightFont'] = new ezcGraphFontOptions(); diff --git a/tests/line_test.php b/tests/line_test.php index 178bfa0..6b79302 100644 --- a/tests/line_test.php +++ b/tests/line_test.php @@ -59,7 +59,7 @@ class ezcGraphLineChartTest extends ezcGraphTestCase $options = new ezcGraphLineChartOptions(); $this->assertSame( - 2, + 1, $options->lineThickness, 'Wrong default value for property lineThickness in class ezcGraphLineChartOptions' ); |