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

SCIChartModifierBase

@interface SCIChartModifierBase : SCIChartModifierCore <ISCIChartModifier>

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

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

    Declaration

    Objective-C

    - (CGPoint)getPoint:(CGPoint)point relativeTo:(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.