Explorar o código

Fix datalabels appearing on pass rate charts

Alan Lam %!s(int64=3) %!d(string=hai) anos
pai
achega
3f70230f74
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      engine/chart_generator.php

+ 1 - 1
engine/chart_generator.php

@@ -817,7 +817,7 @@ class ChartGenerator {
 			}
 			$chart->addDataset($this->periodLabels[$index], $data_values, [
 				"background_colours" => Chart::COLOURS[$index],
-				"dataLabels" => [
+				"datalabels" => [
 					"display" => false
 				]
 			]);