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
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: