Skip to content
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

How to implement custom dataset in objective-c? #2639

Closed
CavalcanteLeo opened this issue Jul 25, 2017 · 1 comment
Closed

How to implement custom dataset in objective-c? #2639

CavalcanteLeo opened this issue Jul 25, 2017 · 1 comment

Comments

@CavalcanteLeo
Copy link

I've read the documentation, but even with that, I didn't figured out.

Is there any exemple in objective-c?

https://github.com/PhilJay/MPAndroidChart/wiki/Custom-DataSets (Android documentation)

@liuxuan30
Copy link
Member

liuxuan30 commented Jul 28, 2017

I recommend you implement sub DataSet class in swift to avoid any incompatible issue while sub classing. It's not hard.

Also you can give a try to subclass in Objective-C, if the compiler complains.. switch to swift :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants