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

        let valueToPixelMatrix = trans.valueToPixelMatrix
        
        let entryCount = dataSet.entryCount
        let pointsPerEntryPair = dataSet.isDrawSteppedEnabled ? 4 : 2
        
        let phaseX = animator.phaseX
        let phaseY = animator.phaseY

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