Core Plot (iOS and tvOS)
Cocoa plotting framework for macOS, iOS, and tvOS

Pie chart properties that can be animated using Core Animation. More...

+ Collaboration diagram for Pie Chart:

Appearance

CGFloat CPTPieChart::pieRadius
 The radius of the overall pie chart. Defaults to 80% of the initial frame size. More...
 
CGFloat CPTPieChart::pieInnerRadius
 The inner radius of the pie chart, used to create a “donut hole”. Defaults to 0. More...
 
CGFloat CPTPieChart::startAngle
 The starting angle for the first slice in radians. Defaults to π/2. More...
 
CGFloat CPTPieChart::endAngle
 The ending angle for the last slice in radians. If NaN, the ending angle is the same as the start angle, i.e., the pie slices fill the whole circle. Defaults to NaN. More...
 
CGPoint CPTPieChart::centerAnchor
 The position of the center of the pie chart with the x and y coordinates given as a fraction of the width and height, respectively. Defaults to (0.5, 0.5). More...
 
CPTPieDirection CPTPieChart::sliceDirection
 Determines whether the pie slices are drawn in a clockwise or counter-clockwise direction from the starting point. Defaults to clockwise. More...
 

Detailed Description

Pie chart properties that can be animated using Core Animation.

Properties

◆ centerAnchor

- (CGPoint) centerAnchor
readwritenonatomicassign

The position of the center of the pie chart with the x and y coordinates given as a fraction of the width and height, respectively. Defaults to (0.5, 0.5).

◆ endAngle

- (CGFloat) endAngle
readwritenonatomicassign

The ending angle for the last slice in radians. If NaN, the ending angle is the same as the start angle, i.e., the pie slices fill the whole circle. Defaults to NaN.

◆ pieInnerRadius

- (CGFloat) pieInnerRadius
readwritenonatomicassign

The inner radius of the pie chart, used to create a “donut hole”. Defaults to 0.

◆ pieRadius

- (CGFloat) pieRadius
readwritenonatomicassign

The radius of the overall pie chart. Defaults to 80% of the initial frame size.

◆ sliceDirection

- (CPTPieDirection) sliceDirection
readwritenonatomicassign

Determines whether the pie slices are drawn in a clockwise or counter-clockwise direction from the starting point. Defaults to clockwise.

◆ startAngle

- (CGFloat) startAngle
readwritenonatomicassign

The starting angle for the first slice in radians. Defaults to π/2.