Browse Source

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

Daniel Barreto 11 years ago
parent
commit
01cd280ffa
1 changed files with 1 additions and 0 deletions
  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