     }
 
     static let minutesPerWeek = Double(MINUTES_IN_ONE_HOUR * HOURS_IN_ONE_DAY * DAYS_IN_ONE_WEEK)
-    static let yAxisLabelWidth = 1200.0
+    static let yAxisLabelWidthFraction = 0.1
 
     var trendsAlgorithmModel: TrendsAlgorithmModel?
 


        let minutesLastMinusFirst = last.timeIntervalSince(first) / Double(SECONDS_IN_ONE_MINUTE)
        // TODO: Fix me vertical axis not visible when graph first appears
        let length = NSNumber(value: minutesLastMinusFirst + yAxisLabelWidth)
        let range = CPTPlotRange(location: NSNumber(value: -yAxisLabelWidth), length: length)
        return range
    }


        let range: CPTMutablePlotRange = CPTMutablePlotRange(location: newRange.location,
                                                             length:newRange.length)

        // Adjust axes to keep them in view at the left and bottom
        let axisSet: CPTXYAxisSet = space.graph!.axisSet as! CPTXYAxisSet
        if coordinate == CPTCoordinate.X {
            axisSet.yAxis?.orthogonalPosition = NSNumber(value:(range.location.doubleValue
                + (0.1 * range.lengthDouble)))
            axisSet.xAxis?.labelFormatter = xLabelFormatter(range: range)
        } else if (coordinate == CPTCoordinate.Y)
            && (trend != nil) {
