
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCITooltipModifier
@interface SCITooltipModifier : SCITooltipModifierBase
The SCITooltipModifier
provides a touch-over tooltip to a chart, outputting a single SCISeriesInfo
object to bind to which updates as the touch moves over data-points.
See
SCICursorModifier
.
See
SCIRolloverModifier
.
-
Defines the offset on which tooltip and the marker will be shifted in x and y directions.
Declaration
Objective-C
@property (nonatomic) CGFloat offset;
-
Gets the
CGPoint
value which will replaceoffset
property and will be used to shift tooltip and the marker in custom x and y directions.Declaration
Objective-C
@property (nonatomic) CGPoint customPointOffset;
-
Gets the
SCIPlacement
mode, to determine where to place tooltip and the marker relatively to theHit-test
point.Declaration
Objective-C
@property (nonatomic) SCIPlacement markerPlacement;
-
Gets the
SCITooltipPosition
mode, to determine where to place tooltip relatively to the marker.Declaration
Objective-C
@property (nonatomic) SCITooltipPosition tooltipPosition;
-
Gets the
SCIPenStyle
instance which will be used bySCICrossDrawableBehavior
to tooltip marker.Declaration
Objective-C
@property (nonatomic, strong) SCIPenStyle *_Nonnull tooltipPointMarkerPaintStyle;
-
Creates a new instance of
SCITooltipModifier
class.Declaration
Objective-C
- (nonnull instancetype)init;
-
Creates a new instance of
SCITooltipModifier
class.Declaration
Objective-C
- (nonnull instancetype)initWithCrossDrawableBehavior: (nonnull SCICrossDrawableBehavior *)crossDrawableBehavior;
Parameters
crossDrawableBehavior
The
SCIDrawableBehavior
instance which will be use to show marker which will identify what point will be Hit-tested. -
Creates a new instance of
SCITooltipModifier
class.Declaration
Objective-C
- (nonnull instancetype) initWithCrossDrawableBehavior: (nonnull SCICrossDrawableBehavior *)crossDrawableBehavior andTooltipContainer: (nonnull id<ISCITooltipContainer>)tooltipContainer;
Parameters
crossDrawableBehavior
The
SCIDrawableBehavior
instance which will be use to show marker which will identify what point will be Hit-tested.tooltipContainer
The tooltip container.
-
Creates a new instance of
SCITooltipModifier
class.Declaration
Objective-C
- (nonnull instancetype) initWithTooltipBehavior:(nonnull SCITooltipBehaviorBase *)tooltipBehavior crossDrawableBehavior: (nonnull SCICrossDrawableBehavior *)crossDrawableBehavior;
Parameters
tooltipBehavior
The
SCITooltipBehavior
which will be associated with this modifier.crossDrawableBehavior
The
SCIDrawableBehavior
instance which will be use to show marker which will identify what point will be Hit-tested.