Today,our company has required me to change the position of the values top on BarChartView?And now I have no idea ,how to get it....
in the file
modify the line 439
and in your controller
chartView.drawValueAboveBarEnabled = true
@thierryH91200 nice job for pointing in the right direction
@guanyanlin you can also subclass BarChartRenderer and copy the function that contains the posOffset
into your subclass and override it there, that way you won't modify the original source code and any future updates in Charts won't wipe out your modifications.
great people are helping :)
Most helpful comment
in the file
modify the line 439
and in your controller