-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot invoke initializer for type 'LineChartData' #1502
Comments
Did you find any solution to this? I am having the same problem! |
try master, or Chart2.2.5-Swift3.0 branch. It seems fixed if I remember correctly. |
@liuxuan30 I am facing the issue from branch "Chart2.2.5-Swift3.0". I have rebuilt the whole project after downloaded again from this branch. Please advise. |
try https://github.com/danielgindi/Charts/tree/v2.3.0 |
The API for that has changed in 3.0 |
@petester42 I need your help on this. |
Please make a little effort... Read the README, look at the issues... |
All good now with Swift 3.0 And Chart 3.0. Below is working code snippets.
Thanks for your help. |
I am getting below error when try to use in Swift 3. Please advise.
Cannot invoke initializer for type 'LineChartData' with an argument list of type '(xVals: [Double], dataSet: LineChartDataSet)'
The below code working perfectly fine in Swift 2.x
The text was updated successfully, but these errors were encountered: