Pre loader

How to stop deceleration?

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

registerVisibleRangeChangedCallback is not enough for me.
I want an active stop function like this.
surface.stopScroll()….

Version
recent
  • You must to post comments
1
0

Hello, Minsub Kim.
Unfortunately, there’s no such api out of the box.
However, as a workarounds I can suggest you the following:

To cancel the currently running scroll animation you can call onTapGestureToCancelAnimation: At: method on your SCIZoomPanModifier object.

To completely disable decelerating, you can create and use SCIZoomPanModifier subclass. Override - (void)performPanEndingFrom:(CGPoint)lastPoint andVelocity:(CGPoint)velocity method (live the implementation empty, don’t call a superclass =))

Regards,
Andriy.

  • You must to post comments
Showing 1 result
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