mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Remove 100% pie slice hack
The getPieSlicePath primitive can draw it now.
This commit is contained in:
parent
2575634dec
commit
23aa57a5d7
@ -274,9 +274,6 @@ class PieChart extends Chart
|
||||
$lastRadius = 0;
|
||||
foreach ($pie['data'] as $idx => $dataset) {
|
||||
$color = $this->getColorForPieSlice($pie, $idx);
|
||||
if ($dataset === 100) {
|
||||
$dataset = 99.9;
|
||||
}
|
||||
if ($dataset == 0) {
|
||||
$labelPos++;
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user