I have created a LineChart
using the library MPAndroidChart and everything works great.
Now what I want to do is show a drawable (image) instead of the default circle for every entry on the chart.
I have tried so many options from the API but no luck.
Can anyone tell me how can I do this?
And finally after trying so many things, with the help of @David Rawson's suggestion and this post MPAndroidChart LineChart custom highlight drawable
I have managed to create a custom renderer, which replaces the default circle image in chart with the provided image.
Following is the code snippet of solution.
Hope this helps someone.
You can simply create entry with drawable, and it will be drawn instead of circle on graph.