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 515ff26 commit a346e5aCopy full SHA for a346e5a
main/gradebook/lib/fe/flatviewtable.class.php
@@ -245,6 +245,8 @@ function display_graph_by_resource() {
245
foreach($resource_list as $key=>$resource) {
246
$new_resource_list = $new_resource_list_name = array();
247
$DataSet = new pData();
248
+ // Reverse array, otherwise we get highest values first
249
+ $resource = array_reverse($resource,true);
250
foreach ($resource as $name=>$cant) {
251
$DataSet->AddPoint($cant,"Serie".$j);
252
$DataSet->SetSerieName(strip_tags($name),"Serie".$j);
0 commit comments