|
|
@@ -453,10 +453,7 @@ if($submit) {
|
|
|
"#FFAB91",
|
|
|
"#F44336",
|
|
|
],
|
|
|
- "datalabels" => [
|
|
|
- "backgroundColor" => "rgba(0, 0, 0, 0.75)",
|
|
|
- "borderRadius" => "2",
|
|
|
- ],
|
|
|
+ "datalabels" => Chart::DATALABELS_BOX,
|
|
|
]);
|
|
|
$chart->setPrintSuffixes("");
|
|
|
$chart->print = true;
|
|
|
@@ -480,9 +477,9 @@ if($submit) {
|
|
|
"#2196F3",
|
|
|
"#E91E63",
|
|
|
"#9E9E9E",
|
|
|
- ]
|
|
|
+ ],
|
|
|
+ "datalabels" => Chart::DATALABELS_BOX,
|
|
|
]);
|
|
|
- $chart->setDatalabelSuffixes(" Test");
|
|
|
$charts[] = $chart;
|
|
|
|
|
|
// Tester Gender
|
|
|
@@ -497,9 +494,9 @@ if($submit) {
|
|
|
"background_colours" => [
|
|
|
"#2196F3",
|
|
|
"#E91E63",
|
|
|
- ]
|
|
|
+ ],
|
|
|
+ "datalabels" => Chart::DATALABELS_BOX,
|
|
|
]);
|
|
|
- $chart->setDatalabelSuffixes(" Test");
|
|
|
$charts[] = $chart;
|
|
|
|
|
|
// Pass / Fail
|
|
|
@@ -514,9 +511,9 @@ if($submit) {
|
|
|
"background_colours" => [
|
|
|
"#4CAF50",
|
|
|
"#F44336",
|
|
|
- ]
|
|
|
+ ],
|
|
|
+ "datalabels" => Chart::DATALABELS_BOX,
|
|
|
]);
|
|
|
- $chart->setDatalabelSuffixes(" Test");
|
|
|
$charts[] = $chart;
|
|
|
|
|
|
// Pass Rate Period
|
|
|
@@ -640,10 +637,7 @@ if($submit) {
|
|
|
"#FFAB91",
|
|
|
"#F44336",
|
|
|
],
|
|
|
- "datalabels" => [
|
|
|
- "backgroundColor" => "rgba(0, 0, 0, 0.75)",
|
|
|
- "borderRadius" => "2",
|
|
|
- ],
|
|
|
+ "datalabels" => Chart::DATALABELS_BOX,
|
|
|
]);
|
|
|
$charts[] = $chart;
|
|
|
}
|