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

SCIPieChartModifierBase

@interface SCIPieChartModifierBase : SCIChartModifierCore <ISCIPieChartModifier>

Defines the base class to a PieChart Modifier, which can be used to extend the interactivity or rendering of the SCIPieChartSurface.

  • Transforms point with coordinates relative to parent surface and transforms it relative to specified ISCIHitTestable instance.

    Declaration

    Objective-C

    - (CGPoint)getPoint:(CGPoint)point
             relativeTo:(nonnull id<ISCIHitTestable>)relativeTo;

    Swift

    func getPoint(_ point: CGPoint, relativeTo: ISCIHitTestable) -> CGPoint

    Parameters

    point

    The point to translate.

    relativeTo

    The target ISCIHitTestable instance.

    Return Value

    The translated CGPoint.