Remove 100% pie slice hack

The getPieSlicePath primitive can draw it now.
This commit is contained in:
Goran Rakic 2014-08-21 03:52:51 +02:00 committed by Matthias Jentsch
parent 2575634dec
commit 23aa57a5d7
1 changed files with 0 additions and 3 deletions

View File

@ -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;