Zooming X+Y without maintaining aspect ratio?

Hi,

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,

thanks

Mark

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

Regards,
Parthiban S
 


Loader.
Up arrow icon