We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Zooming X+Y without maintaining aspect ratio?


is it possible to pinch to zoom the Chart without maintaining aspect ratio?

I have the scenario where my data is over a long period but the value changes are small for the section of chart I want to view,



1 Reply

PS Parthiban Sundaram Syncfusion Team December 15, 2016 04:03 PM UTC

Hi Mark,

Thanks for using Syncfusion products.

You can achieve your requirement using ZoomFactor and ZoomPostion in ChartAxis as per below code snippet. 
primaryAxis.ZoomFactor = 0.5; 
primaryAxis.ZoomPosition = 0.5; 
secondaryAxis.ZoomFactor = 0.5; 
secondaryAxis.ZoomPosition = 0.5; 
We have prepared the sample based on your requirement. Please download the sample from following location.

Sample: http://www.syncfusion.com/downloads/support/forum/127870/ze/Sample228378033  
If your requirement is different from this, please update us more details for further assistance

Parthiban S

Live Chat Icon For mobile
Up arrow icon