Pre loader

Bring up Tooltip data with a 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

0
0

It seems most of the modifiers bring up tooltip data with a pan, and then it goes away when the user lifts their finger. Is there any way to bring up tooltip data with a tap (and does not go away when the finger has lifted)? The main problem that we’re trying to solve is that we would like to be able to pan to look at the chart (and don’t want an axis pan), but would also like to bring up tooltip data.

Version
2.5
  • You must to post comments
0
0

Hello, Carolyn.
To show rollover by tap, you can use behavior property:

**

@brief The SCIRolloverModifier class’ property.
@discussion Defines modifier’s reaction on touches and gestures
@see SCIRolloverModifierBehaviourEnum
*/
@property (nonatomic) SCIRolloverModifierBehaviourEnum behaviour;

For making it stay on screen after a finger released you will need to subclass corresponding modifier and override touch/gesture handling methods, we have such code in our examples repository, so you can check how it can be done:
https://github.com/ABTSoftware/SciChart.iOS.Examples/blob/master/v2.x/Sandbox/LeaveRolloverOnScreen_Swift/LeaveRolloverOnScreen_Swift/ChartView.swift

Regards,
Andriy.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.