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
- Libor Zapletal asked 1 month ago
- You must login to post comments
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?
- Andrew Burnett-Thompson answered 4 weeks ago
- You must login to post comments
Please login first to submit.