MPAndroidChart icon indicating copy to clipboard operation
MPAndroidChart copied to clipboard

Wrong display for negative values in BarChart

Open SilkSama opened this issue 12 years ago • 5 comments

Negative values displayed inside a BarChart (maybe the same for other charts) have a wrong position. See linked screenshot. There is a mistake of my side ? (setDrawValueAboveBar is set to true) capture

SilkSama avatar Oct 10 '14 14:10 SilkSama

Thank you, I will look into it.

PhilJay avatar Oct 11 '14 16:10 PhilJay

This will be fixed in the next commit.

Also check the method BarChart.setDrawValueAboveBar(boolean enabled) method. It defines weather bar values are drawn inside or outside the bar.

PhilJay avatar Oct 12 '14 15:10 PhilJay

Thank you for your reply. I already use the setDrawValueAboveBar(boolean enabled) method is this example.

SilkSama avatar Oct 13 '14 12:10 SilkSama

This should be fixed in the latest release, please try it out.

Regards, Phil

PhilJay avatar Oct 15 '14 22:10 PhilJay

I am facing same issue in v3.1.0. In which version, i can get this issue fixed ?

rashmitank avatar Jun 23 '20 07:06 rashmitank