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

Working examples anywhere? #9

Open
asheragy opened this issue Jul 26, 2017 · 1 comment
Open

Working examples anywhere? #9

asheragy opened this issue Jul 26, 2017 · 1 comment

Comments

@asheragy
Copy link

Are there any working examples of this library? I am trying to get something like the example below working on xamarin.android.

https://github.com/PhilJay/MPAndroidChart/wiki/Getting-Started

The LineChart has a LineData member that is a get only property which is null, so you can't set any chart data. I worked around this by creating a subclass of LineChart to override the LineData property which returns a non-null instance, this just shows a chart with "no chart data available". Tried the invalidate() thing too but this is onCreate so it shouldn't matter.

@Silic0nS0ldier
Copy link

Not sure what the LineData property is for. Might just he there for a type safe way to get the data back out. Anyway. what your after is the Data property that's common to all chart types.

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