Set max and min zoom of chart


#1

Thanks for support.

I have to set min and max zoom of chart so things will be shown claer at particular zoom. And if user zoom out then not goes down min zoom.

How do that ?


Android ZoomInLimit and ZoomOutLimit
#2

Hi Satvikios,

Assuming you’re asking about the Android version, use ShinobiChart.setOnAxisRangeChangedListener, and check the range when the user zooms in. If he’s zoomed in too far, you can use Axis.requestCurrentDisplayedRange to zoom back out again.

Best regards,

Robin Sillem 


#3

rsillem

Hi Satvikios,

Assuming you’re asking about the Android version, use ShinobiChart.setOnAxisRangeChangedListener, and check the range when the user zooms in. If he’s zoomed in too far, you can use Axis.requestCurrentDisplayedRange to zoom back out again.

Best regards,

Robin Sillem 

Sorry I forget to maintain name of platform. I want now for ios.

Thanks


#4

I think that this is now a duplicate of this thread

_sam