diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-07-11 08:49:26 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-07-11 08:49:26 +0000 |
commit | 6f359d97e38932b0da23abb0940f32bf5380c0d8 (patch) | |
tree | bc6221534bf65aa6777245e7f555e943cdd2bbc6 /src/options/chart.php | |
parent | 663493a7224dc7869c6c63d770016f9fd8850e2a (diff) | |
download | zetacomponents-graph-6f359d97e38932b0da23abb0940f32bf5380c0d8.zip zetacomponents-graph-6f359d97e38932b0da23abb0940f32bf5380c0d8.tar.gz |
- Refactored ezcGraphRenderer
# Most test run again, but complete result is still errnous
Diffstat (limited to 'src/options/chart.php')
-rw-r--r-- | src/options/chart.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/options/chart.php b/src/options/chart.php index ccbb6c0..18ea61c 100644 --- a/src/options/chart.php +++ b/src/options/chart.php @@ -65,6 +65,13 @@ class ezcGraphChartOptions extends ezcBaseOptions protected $padding = 0; /** + * Distance between outer boundings and border of an element + * + * @var integer + */ + protected $margin = 0; + + /** * Font used in the graph * * @var int @@ -103,6 +110,9 @@ class ezcGraphChartOptions extends ezcBaseOptions case 'padding': $this->padding = max( 0, (int) $propertyValue ); break; + case 'margin': + $this->margin = max( 0, (int) $propertyValue ); + break; case 'backgroundImage': $this->backgroundImage->source = $propertyValue; break; |