     override func drawRect(rect: CGRect) {
         #if TARGET_INTERFACE_BUILDER
             drawIBPlaceholder()
-        #else
+            #else
             drawChart()
         #endif
     }

        return scaled
    }
    
    // MARK: - Drawings
    
    func isVerticalSegmentAboveXAxis(yValues: Array<Float>) -> Bool {
        
        // YValues are "reverted" from top to bottom, so min is actually the maxz
        let min = maxElement(yValues)
        let zero = scaleValueOnYAxis(0)
        
        return min <= zero
        

    var highlightLineWidth: CGFloat = 0.5
    
    /**
    Negative offset for the highlight line, spans above the chart. Useful to display a label on touch.
    */
    var highlightLineOffset: CGFloat = 0
    
