Open hamjabhatti10 opened 4 years ago
Have you tried playing around with the y-axis maximums? For example:
chart.axisLeft.axisMaximum = chart.yChartMax + 1f
chart.axisRight.axisMaximum = chart.yChartMax + 1f
...or something to this effect.
not worked
Do you have any code samples that you can show?
Im use 'com.github.PhilJay:MPAndroidChart:v3.1.0'
I have something similar in this bar chart in groups, when I only have 1 element, the bars are not drawn proportionally and are drawn below the Y axis
Have you tried setting axisMinimum
for axisLeft
and/or axisRight
to 0?
I want to adjust height of bar graph according to highest bar value. if i give height to barGraph wrap_content it shows very small bars like this
And if i give fix height it draws graph with extra spaces like
i want to remove this extra height
And i want my graph like this