|
|
@@ -97,7 +97,7 @@ class ChartGenerator {
|
|
|
]);
|
|
|
$chart->addYAxis([
|
|
|
"id" => "y-axis-1",
|
|
|
- // "tick_config" => ["min" => 0, "max" => 100],
|
|
|
+ "tick_config" => ["min" => 0, "max" => 100],
|
|
|
"stacked" => true,
|
|
|
]);
|
|
|
|
|
|
@@ -106,7 +106,7 @@ class ChartGenerator {
|
|
|
$total_count = array_sum($d["stageCounts"]);
|
|
|
if($total_count === 0) return 0;
|
|
|
|
|
|
- return round(($d["stageCounts"][$stage_index] / $total_count) * 100);
|
|
|
+ return round(($d["stageCounts"][$stage_index] / $total_count) * 100, 1);
|
|
|
}, $venue_type_data));
|
|
|
};
|
|
|
|