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

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

        {
            guard let e = dataSet.entryForIndex(x) else { continue }
            
            if isDrawSteppedEnabled
            {
                guard let ePrev = dataSet.entryForIndex(x-1) else { continue }
                CGPathAddLineToPoint(filled, &matrix, CGFloat(e.xIndex), CGFloat(ePrev.value) * phaseY)
