You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm converting my Swift 2.x code to Swift 3.x. Following is my code snippet for which I'm facing errors.
Please help
@IBOutlet weak var chartView: CombinedChartView!
chartView.delegate = self;
chartView.chartDescription?.text = ""
chartView.noDataTextDescription = "You need to provide data for the chart."
Error on line - chartView.noDataTextDescription
let chartData = CombinedChartData()
chartData.xVals = dates
Error on line - chartData.xVals
The text was updated successfully, but these errors were encountered:
You shouldn't covert by yourself unless you know what you are dealing with. Just pick up master and time your time to migrate your project to chart 3.0. You can also take the swift 2.3 release + Chart 2.2.5. Just don't spend time on this.
Oh I see. It's your code xVals = ... does not exist anymore. Use the latest APIs and read the release notes! The x axis is redesigned, so the x stuff changed a lot.
I'm converting my Swift 2.x code to Swift 3.x. Following is my code snippet for which I'm facing errors.
Please help
Error on line -
chartView.noDataTextDescription
Error on line -
chartData.xVals
The text was updated successfully, but these errors were encountered: