     {
         let phaseX = animator?.phaseX ?? 1.0
         let phaseY = animator?.phaseY ?? 1.0
+        let isDrawSteppedEnabled = dataSet.isDrawSteppedEnabled
         
         var e: ChartDataEntry!
         

                            y: CGFloat(e1.value) * phaseY
                        ), valueToPixelMatrix)
                    
                    if dataSet.isDrawSteppedEnabled
                    {
                        _lineSegments[j++] = CGPointApplyAffineTransform(
                            CGPoint(

                    
                    if e == nil { break }
                    
                    if isDrawSteppedEnabled
                    {
                        _lineSegments[1] = CGPoint(x: CGFloat(e.xIndex), y: _lineSegments[0].y)
                        _lineSegments[2] = _lineSegments[1]
