Explorar o código

Update font properties to bigger size before call drawBarGraph -refs #6876

Daniel Barreto %!s(int64=11) %!d(string=hai) anos
pai
achega
01cd280ffa
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      main/gradebook/lib/fe/flatviewtable.class.php

+ 1 - 0
main/gradebook/lib/fe/flatviewtable.class.php

@@ -308,6 +308,7 @@ class FlatViewTable extends SortableTable
                             //$Test->drawTreshold(0,143,55,72,TRUE,TRUE);
 
                             // Draw the bar graph
+                            $Test->setFontProperties(api_get_path(LIBRARY_PATH)."pchart/fonts/tahoma.ttf",11);
                             $Test->drawBarGraph($DataSet->GetData(),$DataSet->GetDataDescription(),TRUE);
 
                             //Set legend properties: width, height and text color and font