         x.axisLineStyle = TrendViewController.lineStyleThinWhite()
         x.majorTickLineStyle = TrendViewController.lineStyleThinWhite()
         x.minorTickLineStyle = TrendViewController.lineStyleThinWhite()
-        x.majorIntervalLength   = TrendViewController.minutesPerWeek as NSNumber?
 
         // x axis located at y coordinate == x.orthogonalPosition
         switch trend {

        case .ha1c:
            x.orthogonalPosition = 5.0
        }

        // one day per minor tick
        x.minorTicksPerInterval = UInt(DAYS_IN_ONE_WEEK) - 1
        x.labelExclusionRanges  = [
            //CPTPlotRange(location: 0.99, length: 0.02),
            //CPTPlotRange(location: 1.99, length: 0.02),
            //CPTPlotRange(location: 2.99, length: 0.02)
        ]
    }

    func configureAxis(y: CPTXYAxis, trend: Trend) {

        return cptFormatter
    }

    class func rangeScale(range: CPTPlotRange?) -> RangeScale {

        guard let axisRange = range else {
            return .month
