Merge branch 'MDL-42604-25' of git://github.com/ankitagarwal/moodle into MOODLE_25_STABLE

This commit is contained in:
Marina Glancy
2013-11-04 19:16:44 +11:00
+2 -2
View File
@@ -168,7 +168,7 @@ while ($gridlines >= 10) {
$gridlines /= 2;
}
}
$line->parameter['y_axis_gridlines'] = $gridlines + 1;
$gridlines = max(2, ($gridlines + 1)); // We need a minimum of two lines.
$line->parameter['y_axis_gridlines'] = $gridlines;
$line->draw();