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

Tooltips may be added to the SCIChartSurface using the SCITooltipModifier. This is a ChartModifierBase derived type which is attached to the SCIChartSurface.ChartModifier property.

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

NOTE: The Tooltip is specifically suited for scatter X-Y data, although it may be used for any type of data in SciChart where you want a tooltip to appear on tap-over of a data-point on the chart.

 

Adding a TooltipModifier to the Chart

The code to add a TooltipModifier is as follows:

SCITooltipModifier * tooltip = [[SCITooltipModifier alloc] init];
[surface.chartModifiers add: tooltip];
let toolTipModifier= SCITooltipModifier()
chartSurface.chartModifiers.add(toolTipModifier) 

See Also