Explorar o código

Add datalabels back to "Tests by Stage" chart

Alan Lam %!s(int64=8) %!d(string=hai) anos
pai
achega
75f85c5cee
Modificáronse 1 ficheiros con 2 adicións e 4 borrados
  1. 2 4
      controllers/performance.php

+ 2 - 4
controllers/performance.php

@@ -441,11 +441,9 @@ if($submit) {
 				"#FBC02D",
 				"#FFAB91",
 				"#F44336",
-			],
-			"datalabels" => [
-				"display" => false,
-			],
+			]
 		]);
+		$chart->setDatalabelSuffixes(" Test");
 
 		// Generate table
 		ob_start();