
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;
-
Creates a new instance of
SCITooltipBehavior
class.Declaration
Objective-C
- (nonnull instancetype)initWithModifierType:(nonnull Class)modifierType tooltipContainer:(nonnull id<ISCITooltipContainer>) tooltipContainer;
Parameters
modifierType
The type of the associated
ISCIChartModifier
.tooltipContainer
The tooltip container.