      **/
     func numberOfRecords(for plot: CPTPlot) -> UInt {
         guard let model: TrendsAlgorithmModel = trendsAlgorithmModel,
-        let trendUnwrapped = trend else { return 0 }
+            let trendUnwrapped = trend else { return 0 }
         switch trendUnwrapped {
         case .bg:
             return UInt(model.bgArrayCount())

        let axisSet = graph.axisSet as! CPTXYAxisSet

        if let x = axisSet.xAxis {
            x.labelFormatter = xLabelFormatter()
            x.labelTextStyle = TrendViewController.textStyleWhite()
            x.axisLineStyle = TrendViewController.lineStyleThinWhite()


}

extension TrendViewController: CPTPlotDataSource {

    /** @brief @required The number of data points for the plot.
     *  @param plot The plot.
