FIxed some notices and now the X-axis text is rotated and readable! Yay!

This commit is contained in:
moodler
2005-03-11 14:57:07 +00:00
parent 01dc6ab67a
commit 222fd71089
2 changed files with 6 additions and 5 deletions
+5 -4
View File
@@ -109,7 +109,7 @@
$graph->parameter['y_axis_gridlines']= $maxbuckets + 1;
$graph->parameter['y_resolution_left']= 1;
$graph->parameter['y_decimal_left'] = 0;
$graph->parameter['x_axis_angle'] = 0;
$graph->parameter['x_axis_angle'] = 20;
$graph->parameter['shadow'] = 'none';
$graph->draw_stack();
@@ -239,7 +239,7 @@
$graph->parameter['y_axis_gridlines']= count($options);
$graph->parameter['y_resolution_left']= 1;
$graph->parameter['y_decimal_left']= 1;
$graph->parameter['x_axis_angle'] = 0;
$graph->parameter['x_axis_angle'] = 20;
$graph->draw();
@@ -380,6 +380,7 @@
$graph->parameter['y_resolution_left']= 1;
$graph->parameter['y_decimal_left']= 1;
$graph->parameter['x_axis_angle'] = 0;
$graph->parameter['x_inner_padding'] = 6;
$graph->draw();
@@ -546,7 +547,7 @@
$graph->parameter['y_axis_gridlines']= $numoptions;
$graph->parameter['y_resolution_left']= 1;
$graph->parameter['y_decimal_left']= 1;
$graph->parameter['x_axis_angle'] = 0;
$graph->parameter['x_axis_angle'] = 20;
$graph->draw();
break;
@@ -700,7 +701,7 @@
$graph->parameter['y_axis_gridlines']= count($options);
$graph->parameter['y_resolution_left']= 1;
$graph->parameter['y_decimal_left']= 1;
$graph->parameter['x_axis_angle'] = 0;
$graph->parameter['x_axis_angle'] = 20;
$graph->draw();
+1 -1
View File
@@ -139,7 +139,7 @@
foreach ($questionorder as $key => $val) {
$question = $questions[$val];
if ($question->multi) {
if ($virtualscales && $question->type > 0) { // Don't show non-virtual scales if virtual
if (!empty($virtualscales) && $question->type > 0) { // Don't show non-virtual scales if virtual
continue;
}
echo "<p align=\"center\"><a title=\"$strseemoredetail\" href=\"report.php?action=questions&amp;id=$id&amp;qid=$question->multi\">";