iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCITooltipModifierBase
@interface SCITooltipModifierBase
: SCIMasterSlaveTouchModifierBase <SCICaptureEventsGestureDelegate>
The SCITooltipModifierBase is part of the ChartModifier API, which factors out handling of Axis and Chart Label templates,
and provides a touch-over templated tooltip, provided by the output of the Hit-Test operation on a ISCIRenderableSeries.
Warning
Designed to be an abstract class, hence should be used for inheritance only. No direct initializations.-
Defines whether the interaction should use interpolation.
Declaration
Objective-C
@property (nonatomic) BOOL useInterpolation;Swift
var useInterpolation: Bool { get set } -
Defines the
SCISourceModetype of series on which interaction is performed.Declaration
Objective-C
@property (nonatomic) SCISourceMode sourceMode;Swift
var sourceMode: SCISourceMode { get set } -
Defines a value indicating whether to show tooltip or not.
Declaration
Objective-C
@property (nonatomic) BOOL showTooltip;Swift
var showTooltip: Bool { get set } -
Creates a new instance of
SCITooltipModifierBaseclass.Declaration
Objective-C
- (nonnull instancetype)initWithTooltipBehavior: (nonnull SCITooltipBehaviorBase *)tooltipBehavior;Swift
init(tooltipBehavior: SCITooltipBehaviorBase<any ISCIChartModifier>)Parameters
tooltipBehaviorThe
SCITooltipBehaviorwhich will be associated with this modifier.
View on GitHub