SciChart iOS v2.x API > ChartModifier API > Cursors, Tooltips and Legends > SCICursorModifier
SCICursorModifier

SciChart features a Cursor or Crosshairs modifier provided by the SCICursorModifier. This is able to display a crosshairs at the touch-location and XAxis or YAxis labels. The CursorModifier is also able to display an aggregated tooltip (all series in one tooltip).

Examples for the CursorModifier can be found in the SciChart iOS Examples Suite.

 

Adding a CursorModifer to the Chart – Code

The code to add a CursorModifer as follows:

SCICursorModifier * cursor = [[SCICursorModifier alloc] init];
cursor.style.colorMode = SCITooltipColorMode_SeriesColorToDataView;
[surface.chartModifiers add: cursor];
let cursorModifier= SCICursorModifier()
cursorModifier.style.colorMode = .SeriesColorToDataView       
chartSurface.chartModifiers.add(cursorModifier)