X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Fincludes%2Fclass.graphic.inc;h=8cfc2ed3ad681ae8ecd20e4dc1af1718b48bb551;hb=6c40a3be4a79826087d7abbdd11b483f19decc2a;hp=2e37b24df241db5c3eb2b117b20a1e6f4c6ae29f;hpb=7ad222595e84451daea8aaa06c83d817cc3c774c;p=fa-stable.git diff --git a/reporting/includes/class.graphic.inc b/reporting/includes/class.graphic.inc index 2e37b24d..8cfc2ed3 100644 --- a/reporting/includes/class.graphic.inc +++ b/reporting/includes/class.graphic.inc @@ -60,7 +60,7 @@ file for later presentation. Joe Hunt */ define('MAXLEN', 27); // we cut after 25 chars + ... -class Chart extends \stdClass +class Chart { var $id; var $labels = array(); @@ -102,6 +102,23 @@ class Chart extends \stdClass var $lang; var $font; var $path; + var $bar_width = 0; + var $space_between_dots = 0; + var $higher_value = 0; + var $higher_value_str = null; + var $graphic_area_width = 0; + var $graphic_area_height = 0; + var $graphic_area_x1 = 0; + var $graphic_area_x2 = 0; + var $graphic_area_y1 = 0; + var $graphic_area_y2 = 0; + var $legend_exists = false; + var $legend_box_width = 0; + var $legend_box_x1 = 0; + var $legend_box_x2 = 0; + var $legend_box_y1 = 0; + var $legend_box_y2 = 0; + function __construct($type = 1, $id = 'id', $width = 0, $height = 0) {