MPAndroidChart icon indicating copy to clipboard operation
MPAndroidChart copied to clipboard

Fixed Y axis scale on Bar Graphs

Open kevinlieb opened this issue 1 year ago • 0 comments

I checked examples and docs and can't find a solution. This seems like such an obvious problem.

I have data flowing in, 3-4 times per second, which is voltages across 36 batteries from a Battery Management System. These voltages should always be 3.0v to 4.2v and only in extremely bad circumstances out of that range. So I want to fix the Y access to be 3.0 to 4.2. So far I have not found a way to do this.

barChart.setAutoScaleMinMaxEnabled(false); did not work.

Video of the issue: https://youtu.be/RE7a-hLnY7E

Any suggestions? Or is there a bug here?

kevinlieb avatar Jun 11 '24 05:06 kevinlieb