diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-06-12 16:29:14 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-06-12 16:29:14 +0000 |
commit | 4c71c431a983f0c1216981e2011e823d303848d7 (patch) | |
tree | 8fb31999ca1fb711e54c2eb8519f59116d9f05b6 /src/charts/pie.php | |
parent | 3f1b5624719e557f8c4f7cb49f57d92fe3b37b4d (diff) | |
download | zetacomponents-graph-4c71c431a983f0c1216981e2011e823d303848d7.zip zetacomponents-graph-4c71c431a983f0c1216981e2011e823d303848d7.tar.gz |
- Added tests and implementation for background images in charts
- Fixed bug with image sizes in gd driver
Diffstat (limited to 'src/charts/pie.php')
-rw-r--r-- | src/charts/pie.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/charts/pie.php b/src/charts/pie.php index e907b03..8645c08 100644 --- a/src/charts/pie.php +++ b/src/charts/pie.php @@ -200,15 +200,16 @@ class ezcGraphPieChart extends ezcGraphChart $this->options->width = $width; $this->options->height = $height; - // Render subelements $boundings = new ezcGraphBoundings(); $boundings->x1 = $this->options->width; $boundings->y1 = $this->options->height; // Render border and background $boundings = $this->renderBorder( $boundings ); + $boundings = $this->options->backgroundImage->render( $this->renderer, $boundings ); $boundings = $this->renderBackground( $boundings ); + // Render subelements foreach ( $this->elements as $name => $element ) { $this->driver->options->font = $element->font; |