Przeglądaj źródła

Merge branch 'master' into mmol-dev

jonfawcett 6 lat temu
rodzic
commit
e32459270f
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      LoopFollow/Controllers/Graphs.swift

+ 2 - 0
LoopFollow/Controllers/Graphs.swift

@@ -255,11 +255,13 @@ extension MainViewController {
         
         
         // Set Colors
         // Set Colors
         let lineBG = BGChart.lineData!.dataSets[dataIndex] as! LineChartDataSet
         let lineBG = BGChart.lineData!.dataSets[dataIndex] as! LineChartDataSet
+
         let lineBGSmall = BGChartFull.lineData!.dataSets[dataIndex] as! LineChartDataSet
         let lineBGSmall = BGChartFull.lineData!.dataSets[dataIndex] as! LineChartDataSet
         lineBG.colors.removeAll()
         lineBG.colors.removeAll()
         lineBG.circleColors.removeAll()
         lineBG.circleColors.removeAll()
         lineBGSmall.colors.removeAll()
         lineBGSmall.colors.removeAll()
         lineBGSmall.circleColors.removeAll()
         lineBGSmall.circleColors.removeAll()
+
         if colors.count > 0 {
         if colors.count > 0 {
             print("graph colors")
             print("graph colors")
             for i in 0..<colors.count{
             for i in 0..<colors.count{