From: Joe Hunt Date: Sun, 18 Nov 2012 09:52:44 +0000 (+0100) Subject: Slightly improvement to Pie and Donuts graphic. Now displays which data is shown. X-Git-Tag: 2.3-final~373 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=6983c27585a8ee210e3f49b3b7421ed8f0744792;p=fa-stable.git Slightly improvement to Pie and Donuts graphic. Now displays which data is shown. --- diff --git a/reporting/includes/class.graphic.inc b/reporting/includes/class.graphic.inc index cc86dc60..fc41be8f 100644 --- a/reporting/includes/class.graphic.inc +++ b/reporting/includes/class.graphic.inc @@ -734,7 +734,8 @@ class graph { if (!empty($this->axis_x)) { - $this->_imagestring($this->img, $this->size, ((($x1+$x2)/2) - (strlen($this->axis_x)*7/2)), $y, $this->axis_x, $this->color['title']); + $this->_imagestring($this->img, $this->size, ((($x1+$x2)/2) - (strlen($this->axis_x)*7/2)), $y, + $this->axis_x." (".$this->graphic_1.")", $this->color['title']); $y += 25; }