Pre loader

zooming in both direction but not simontaneously

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

We are working on line charts in Xamarin forms. We have a requirement to zoom in only one direction at one time. Once the user is done with zooming in one direction (say horizontal) and he reaches that place through scrolling, he should be able to zoom in another direction(vertical). Can you please assist this for the same

Version
latest
  • You must to post comments
0
0

Hi George,

You can switch zoom direction by setting Direction property for PinchZoomModifier:

pinchZoomModifier.setDirection(Direction2D.XDirection);

or

pinchZoomModifier.setDirection(Direction2D.YDirection);

The same approach should work for ZoomPanModifier:

zoomPanModifier.setDirection(Direction2D.XDirection);

or

zoomPanModifier.setDirection(Direction2D.YDirection);

Is this suitable for your needs?

Best regards,
Yura

  • You must to post comments
0
0

Hi
I was able to run the line chart in android and ios natively. But I want to run it in xamarin forms. Can you suggest me a way to run this in xamarin forms

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies