SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

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.