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.
Unfortunately, activation email could not send to your email. Please try again.

Zoom X and Y separatly

Thread ID:

Created:

Updated:

Platform:

Replies:

128317 Jan 13,2017 09:05 AM Sep 14,2018 06:51 AM Xamarin.Forms 9
loading
Tags: SfChart
khasan
Asked On January 13, 2017 09:05 AM

Hi there,

I am using Syncfusion Chart with Line series and it works great(in Xamarin project). It displays numeric value for Y axis and Date time for X axis.
Now my client want to zoom X and Y separatly. I know that zoom mode supports XY, X, Y mode but my client want to pinch vertically only for Y and when want to zoom X then pinch horizontally.


Thanks
Khasan

khasan
Replied On January 17, 2017 08:31 AM

Hi there, any updates for this case. My client just want pinch vertically to zoom Y axis and horizontally to oom X axis, is it possible?

Thanks in advance

Jaikrishna Chandrasekar [Syncfusion]
Replied On January 18, 2017 08:24 AM

Hi Khasan, 
 
Thanks for contacting Syncfusion Support. 
 
We have prepared a sample based on your requirement and it can be downloaded from the below location 
 
 
Please lets us know if you need further assistance. 
 
Regards, 
Jaikrishna C 


khasan
Replied On January 18, 2017 12:32 PM

Hi Jaikrishna,

Thanks for response. The attached sample just demostrate default zoom function which zoom in both direction X and Y. My question was - Can I zoom only Y and at the same time X. So for example when pinch vertically it should zoom in/out Y axis only and when pinch horizontally it should zoom in/out X axis only.


thanks
Khasan



Saravana Pandian Murugan [Syncfusion]
Replied On January 19, 2017 08:20 AM

Hi khasan,

We have attached a video clip to showcase the requirement which can be downloaded from the below location.

Video : http://www.syncfusion.com/downloads/support/forum/128317/ze/Video-137031076  

Note: If your requirement is different from this, please update us with more details which will be helpful to assist you.

Thanks,
Saravana Pandian M.
 


khasan
Replied On January 19, 2017 11:51 AM

Thanks Saravana Pandian, Yes your video demo shows what I am trying to implement. I am seeing the code and I guess this is not possible for DateTime axis(only works with Category Axis) am I right? Because when I try with Datetime axis both axis are zoomed in/out no matter how I pinch horizontally or vertically


Thanks
Khasan

khasan
Replied On January 19, 2017 12:13 PM

Thanks Saravana Pandian, Yes your video demo shows what I am trying to implement. I am seeing the code and I guess this is not possible for DateTime axis(only works with Category Axis) am I right? Because when I try with Datetime axis both axis are zoomed in/out no matter how I pinch horizontally or vertically


Thanks
Khasan

Hi Saravana Pandian, Please ignore my previous message.

Sorry, I have took a look to sample project again and found the code that I needed in Android project but I see there is nothing for iOS. I will try to implement renderer for ios based on your code, so this case\thread can be closed

Thanks a lot for your work
Khasan


Preethi Nesakkan Gnanadurai [Syncfusion]
Replied On January 20, 2017 01:37 AM

Hi Khasan,  
  
Thanks for the update. 
  
Regards,  
Preethi 


Michal
Replied On September 11, 2018 05:40 PM

Hi is it still working with newest Syncfussion version? 

I downloaded your demo and it works perfectly,
 but when I triy to implement it with newest libraries 16+ it looks that IOnTouchListener is never invoked,
Control.Touch is invoked but after adding ChartZoomPanBehavior to Chart this event is also blocked, so there is no way to repeat this behaviour.




Michael Prabhu M [Syncfusion]
Replied On September 14, 2018 06:51 AM

Hi Michal, 
 
Sorry for the delay in getting back at this, the previous sample in this forum is targeting lower version of our controls, from which we have evolved so much. Please find the modified sample from the below link. 
 
Sample: 128317 
 
Thanks, 
Michael  



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;