iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

SCIPieChartTooltipModifierBase

@interface SCIPieChartTooltipModifierBase
    : SCIPieChartMasterSlaveTouchModifierBase

The SCIPieChartTooltipModifierBase is part of the ChartModifier API, which factors out handling of Chart Label templates, and provides a touch-over templated tooltip, provided by the output of the Hit-Test operation on a ISCIPieRenderableSeries.

Note

Abstract base class for tooltip modifiers in SCIPieChartSurface.
  • Defines whether the interaction should use interpolation.

    Declaration

    Objective-C

    @property (nonatomic) BOOL useInterpolation;

    Swift

    var useInterpolation: Bool { get set }
  • Defines the SCISourceMode type 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 SCIPieChartTooltipModifierBase class.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithTooltipBehavior:
        (nonnull SCIPieChartTooltipBehaviorBase *)tooltipBehavior;

    Swift

    init(tooltipBehavior: SCIPieChartTooltipBehaviorBase)

    Parameters

    tooltipBehavior

    Pie tooltip behavior which will be associated with this modifier.