iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCITooltipBehavior
@interface SCITooltipBehavior<T : id <ISCIChartModifier>>
: SCITooltipBehaviorBase <T> <ISCISeriesTooltipCallback>
Provides a tooltip behavior for ISCIChartModifier implementors.
Note
T is the type of modifier to which this behavior will be attached.
-
Defines the position of the tooltip related to the current touch point.
Declaration
Objective-C
@property (nonatomic) SCITooltipPosition tooltipPosition;Swift
var tooltipPosition: SCITooltipPosition { get set } -
Creates a new instance of
SCITooltipBehaviorclass.Declaration
Objective-C
- (nonnull instancetype)initWithModifierType:(nonnull Class)modifierType tooltipContainer:(nonnull id<ISCITooltipContainer>) tooltipContainer;Swift
init(modifierType: AnyClass, tooltipContainer: any ISCITooltipContainer)Parameters
modifierTypeThe type of the associated
ISCIChartModifier.tooltipContainerThe tooltip container.
View on GitHub