diff --git a/AllAboutMe/AnalyticsPopupViewController.swift b/AllAboutMe/AnalyticsPopupViewController.swift index dcc6228..fe0e8b9 100644 --- a/AllAboutMe/AnalyticsPopupViewController.swift +++ b/AllAboutMe/AnalyticsPopupViewController.swift @@ -58,22 +58,26 @@ class AnalyticsPopupViewController : UIViewController { dataPoints.append(contextJson["ctxName"].stringValue) dataEntries.append(dataEntry) } - let pieChartDataSet = PieChartDataSet(yVals: dataEntries, label: "\(self.contextGroup!.name)") - let pieChartData = PieChartData(xVals: dataPoints, dataSet: pieChartDataSet) - self.pieChartView.data = pieChartData var colors: [UIColor] = [] for _ in 0.. - +