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

SCIPieChartHitProviderBase

@interface SCIPieChartHitProviderBase<T : id <ISCIPieDonutRenderPassData>>
    : NSObject <ISCIPieChartHitProvider>

Defines a base class for ISCIPieChartHitProvider implementations.

  • Calculates polar radius.

    Declaration

    Objective-C

    - (float)getPolarRadiusWithX:(float)x y:(float)y;

    Swift

    func getPolarRadiusWith(x: Float, y: Float) -> Float

    Parameters

    x

    The x coordinates of point.

    y

    The y coordinates of point.

  • Calculates polar angle in degrees clockwise.

    Declaration

    Objective-C

    - (float)getPolarAngleInDegreesClockwiseWithX:(float)x y:(float)y;

    Swift

    func getPolarAngleInDegreesClockwiseWith(x: Float, y: Float) -> Float

    Parameters

    x

    The x coordinates of point.

    y

    The y coordinates of point.