I am using MPAndroidChart to display my charts, in the barchart it displays some values perfectly but for some other values, the bar is visible and can be highlighted but its value is not visible.
Any clue please on how to fix this ?
This is a picture to clarify what I am saying. The red areas is where the bar is visible but not its value.

Before setting the data (sorry I couldn't find the data in your question):
graph.setVisibleYRangeMaximum(barDataSet.getYMax() + 20, YAxis.AxisDependency.LEFT);
replacing 20 with the height of your custom layout.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With