Customize Legend In Mpandroidchart
I am working in project in project that needs implement chart , I decide use MPAndroidChart its work just fine but I need some things done to be perfect to me First can I change b
Solution 1:
You can do that if you create a custom Chart
class and overwrite the init()
.
In this method, the Chart initializes a LegendRenderer
and this is the point you need to get in and make changes.
Create a custom LegendRenderer
and make sure that all the measurements are in place for those drawable. drawForm()
method will allow you to draw the images instead of the default forms (Circle, Square, Line).
Post a Comment for "Customize Legend In Mpandroidchart"