From: jmg324 Date: Wed, 11 Jun 2008 08:22:38 +0000 (+0000) Subject: MDL-15183 defaulting a couple of variables in the graph class rather than every graph... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d42342f2a3b30f1b0dc76bff1e90c78ca486e1c6;p=moodle.git MDL-15183 defaulting a couple of variables in the graph class rather than every graph object needing to do it. --- diff --git a/lib/graphlib.php b/lib/graphlib.php index c9daca4753..048b5b5cc0 100644 --- a/lib/graphlib.php +++ b/lib/graphlib.php @@ -143,7 +143,8 @@ class graph { 'thousand_sep' => ',', // symbol for thousand separation ',' or '' ); - + var $y_tick_labels = null; // array of text values for y-axis tick labels + var $offset_relation = null; // array of offsets for different sets of data // init all text - title, labels, and axis text.