diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-08-09 13:03:53 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-08-09 13:03:53 +0000 |
commit | 17b8e89991a4eee0944168aa10e0c43d2753db25 (patch) | |
tree | 773c0968c3b108bf77bb66e9be56e8c066616a9e /src/options | |
parent | 3c5cb5cd65c6954f78ba0bd1ccbba44cb2ae4a9a (diff) | |
download | zetacomponents-graph-17b8e89991a4eee0944168aa10e0c43d2753db25.zip zetacomponents-graph-17b8e89991a4eee0944168aa10e0c43d2753db25.tar.gz |
- Added option to gd driver to set an external image as background
- Got chart background images working again
- Post process images in gd driver to not apply supersampling for images
Diffstat (limited to 'src/options')
-rw-r--r-- | src/options/chart.php | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/src/options/chart.php b/src/options/chart.php index 18ea61c..788a03b 100644 --- a/src/options/chart.php +++ b/src/options/chart.php @@ -30,48 +30,6 @@ class ezcGraphChartOptions extends ezcBaseOptions protected $height; /** - * Background images filename - * - * @var string - */ - protected $backgroundImage; - - /** - * Background color of the chart - * - * @var ezcGraphColor - */ - protected $background; - - /** - * Border color of the chart - * - * @var ezcGraphColor - */ - protected $border; - - /** - * Border width - * - * @var int - */ - protected $borderWidth = 0; - - /** - * Space between border and content - * - * @var integer - */ - protected $padding = 0; - - /** - * Distance between outer boundings and border of an element - * - * @var integer - */ - protected $margin = 0; - - /** * Font used in the graph * * @var int @@ -82,9 +40,6 @@ class ezcGraphChartOptions extends ezcBaseOptions { $this->font = new ezcGraphFontOptions(); - $this->backgroundImage = new ezcGraphChartElementBackgroundImage(); - $this->backgroundImage->position = ezcGraph::CENTER | ezcGraph::MIDDLE; - parent::__construct( $options ); } @@ -107,24 +62,6 @@ class ezcGraphChartOptions extends ezcBaseOptions case 'height': $this->height = max( 1, (int) $propertyValue ); break; - 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; - case 'background': - $this->background = ezcGraphColor::create( $propertyValue ); - break; - case 'border': - $this->border = ezcGraphColor::create( $propertyValue ); - break; - case 'borderWidth': - $this->borderWidth = max( 0, (int) $propertyValue ); - break; case 'font': $this->font->font = $propertyValue; break; |