                             endAngleInner * ChartUtils.Math.FDEG2RAD,
                             -sweepAngleInner * ChartUtils.Math.FDEG2RAD)
                     }
+                    else
+                    {
+                        CGPathAddLineToPoint(
+                            path,
+                            nil,
+                            center.x,
+                            center.y)
+                    }
                     
                     CGPathCloseSubpath(path)
                     

            let sliceAngle = drawAngles[j]
            let sliceSpace = dataSet.sliceSpace
            let sliceSpaceOuterAngle = sliceSpace / (ChartUtils.Math.FDEG2RAD * radius)
            let sliceSpaceInnerAngle = sliceSpace / (ChartUtils.Math.FDEG2RAD * innerRadius)
            
            guard let e = dataSet.entryForIndex(j) else { continue }
            

                    endAngleInner * ChartUtils.Math.FDEG2RAD,
                    -sweepAngleInner * ChartUtils.Math.FDEG2RAD)
            }
            else
            {
                CGPathAddLineToPoint(
                    path,
                    nil,
                    center.x,
                    center.y)
            }
            
            CGPathCloseSubpath(path)
            
