summaryrefslogtreecommitdiffstats
path: root/src/charts/pie.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/charts/pie.php')
-rw-r--r--src/charts/pie.php3
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;
OpenPOWER on IntegriCloud