MPAndroidChart icon indicating copy to clipboard operation
MPAndroidChart copied to clipboard

Lift access of autoScale method

Open masztalski opened this issue 1 year ago • 0 comments

Can autoScale method from BarLineChartBase be made public? It is used by LineChart property isAutoScaleMinMaxEnabled. However when I'm using it in my app (free, public data) https://play.google.com/store/apps/details?id=fantomit.zwalkowepegle&hl=pl&gl=US sometimes when Y values differ a lot between viewPorts chart starts to "shake". Having access to method I could add some debounce on viewPort change listener not to change scale immediately allowing for a more smooth experience. Of course improving it in code of lib would be best but surely requires more effort, so at least giving access to method would help

masztalski avatar Aug 31 '23 10:08 masztalski