
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIPieChartTooltipModifier
@interface SCIPieChartTooltipModifier : SCIPieChartTooltipModifierBase
The SCIPieChartTooltipModifier
provides a touch-over tooltip to a pie chart, outputting a single SCIPieSeriesInfo
object to bind to which updates as the touch moves over segments.
Add to a SCIPieChartSurface
and set SCIPieChartTooltipModifier.isEnabled
to YES to enable this behaviour.
-
Gets or sets the offset on which tooltip and the marker will be shifted in x and y directions.
Declaration
Objective-C
@property (nonatomic) float offset;
-
Gets or sets the
CGPoint
value which will replaceSCIPieChartTooltipModifier.offset
and will be used to shift tooltip and the marker in custom x and y directions.Declaration
Objective-C
@property (nonatomic) CGPoint customPointOffset;
-
Gets or sets the
SCIPlacement
mode, to determine where to place tooltip and the marker relatively to the Hit-test point.Declaration
Objective-C
@property (nonatomic) SCIPlacement markerPlacement;
-
Gets or sets 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 bySCIPieChartCrossDrawableBehavior
to tooltip marker.Declaration
Objective-C
@property (nonatomic, readonly) SCIPenStyle *_Nonnull tooltipPointMarkerPaintStyle;
-
Creates a new instance of
SCIPieChartTooltipModifier
class.Declaration
Objective-C
- (nonnull instancetype)init;
-
Creates a new instance of
SCIPieChartTooltipModifier
class.Declaration
Objective-C
- (nonnull instancetype)initWithCrossDrawableBehavior: (nonnull SCIPieChartCrossDrawableBehavior *)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
SCIPieChartTooltipModifier
class.Declaration
Objective-C
- (nonnull instancetype) initWithCrossDrawableBehavior: (nonnull SCIPieChartCrossDrawableBehavior *)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
SCIPieChartTooltipModifier
class.Declaration
Objective-C
- (nonnull instancetype) initWithTooltipBehavior: (nonnull SCIPieChartTooltipBehavior *)tooltipBehavior crossDrawableBehavior: (nonnull SCIPieChartCrossDrawableBehavior *)crossDrawableBehavior;
Parameters
tooltipBehavior
The
SCIPieChartTooltipBehavior
which will be associated with this modifier.crossDrawableBehavior
The
SCIPieChartCrossDrawableBehavior
instance which will be use to show marker which will identify what point will be Hit-tested.