We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e36d15b commit f147776Copy full SHA for f147776
plugin/dashboard/block_student_graph/block_student_graph.class.php
@@ -175,7 +175,7 @@ public function get_students_attendance_graph() {
175
//X axis
176
$test->setFixedScale(0,100,10);
177
//var_dump($data_set->GetDataDescription());
178
- $test->drawHorScale($data_set->GetData(),$data_set->GetDataDescription(),SCALE_NORMAL,150,150,150,TRUE,0,2,TRUE);
+ $test->drawHorScale($data_set->GetData(),$data_set->GetDataDescription(),SCALE_ADDALL,150,150,150,TRUE,0,0,TRUE);
179
$test->setColorPalette(0,255,0,0);
180
$test->drawHorGrid(10,TRUE,230,230,230,50);
181
@@ -184,7 +184,7 @@ public function get_students_attendance_graph() {
184
$test->drawTreshold(0,143,55,72,TRUE,TRUE);
185
186
// Draw the bar graph
187
- $test->drawHorBarGraph($data_set->GetData(),$data_set->GetDataDescription(),FALSE);
+ $test->drawHorBarGraph($data_set->GetData(),$data_set->GetDataDescription(),TRUE,50);
188
189
$cache->WriteToCache($graph_id, $data_set->GetData(), $test);
190
0 commit comments