SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

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.