FIxed some notices and now the X-axis text is rotated and readable! Yay!
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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&id=$id&qid=$question->multi\">";
|
||||
|
||||
Reference in New Issue
Block a user