Pre loader

iOS Using SCIZoomPanModifier And SCICursorModifier Together

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

Hello, I’m trailing your library right now. I would like to be able to move the graph around as well as a cursor on the graph. So I enabled both SCIZoomPanModifier and SCICursorModifier. But since both use one finger panning, the result wasn’t that good. Do you have any guidance for solving the conflict and letting them working together? I’m thinking to do it in the following way: if the touch location is within certain pixel range of the cursor, panning action will move the cursor, otherwise it moves the graph. Is it possible? Thanks

Version
v2.2.1.2260
  • You must to post comments
0
0

Hello, Haoran Xie.
As you mentioned, cursor and zoom pan modifiers are based on the same events, so currently simultaneous usage of this two modifiers isn’t supported. But have a similar feature request for RolloverModifier and ZoomPanModifier, so we plan to add such possibility in a future releases. Here is a link for tracking, if you’re interested.
For now the one thing I can recommend you is using AxisDragModifier for scrolling, it handles events on axises and

  • Haoran Xie
    Or can I somehow handle the panning event by myself? Is there a callback function to implement that?
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.