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…
Reference in New Issue