Pre loader

SCICursorModifier to keep showing after tap

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

Answered
1
0

Hello SciChart team,

I need to modify the SCICursorModifier so that it remains visible after tapping, even when I lift my finger and am no longer touching the screen. With the next touch, I would like the displayed cursor to be cleared and replaced with a new one at the new coordinates. Is this possible with SCICursorModifier? Or would I need to implement this differently? How could this be done?

Thanks for help

Version
4.5.2
  • You must to post comments
Best Answer
0
1

Hi there,

We have a demo of how to do this in the SciTrader SDK which is open source. This uses a button to enable rollover or cursor which then tracks the touch input until disabled.

You can find a link ot the open source repo here: https://github.com/ABTSoftware/Finance.ios

Live demo in the app store here: https://scitrader.io/get-ios

In the github repo have a look at IPaneFactory.swift which references a CrosshairModifier

This is a derived modifier which inherits SCITooltipModifierWithAxisLabelsBase and shows/hides based on an isEnabled property.

Does this help?

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.