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.
Warning
Designed to be an abstract class, hence should be used for inheritance only. No direct initializations.-
Creates a new instance of
SCIPieChartHitProviderBaseclass.Declaration
Objective-C
- (nonnull instancetype)initWithRenderPassDataType: (nonnull Class)renderPassDataType;Swift
init(renderPassDataType: AnyClass)Parameters
renderPassDataTypeThe type of associated render pass data.
-
Calculates polar radius.
Declaration
Objective-C
- (float)getPolarRadiusWithX:(float)x y:(float)y;Swift
func getPolarRadiusWith(x: Float, y: Float) -> FloatParameters
xThe x coordinates of point.
yThe 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) -> FloatParameters
xThe x coordinates of point.
yThe y coordinates of point.
View on GitHub