|
Core Plot (iOS and tvOS)
Cocoa plotting framework for macOS, iOS, and tvOS
|
Go to the documentation of this file.
221 -(void)reloadSliceFillsInIndexRange:(
NSRange)indexRange;
227 -(void)reloadRadialOffsetsInIndexRange:(
NSRange)indexRange;
A pie chart data source.
Definition: CPTPieChart.h:46
CPTPieDirection
Enumeration of pie slice drawing directions.
Definition: CPTPieChart.h:36
@ CPTPieChartFieldSliceWidthSum
Cumulative sum of pie slice widths.
Definition: CPTPieChart.h:30
Immutable wrapper for various line drawing properties. Create a CPTMutableLineStyle if you want to cu...
Definition: CPTLineStyle.h:20
CGFloat pieRadius
The radius of the overall pie chart. Defaults to 80% of the initial frame size.
Definition: CPTPieChart.h:199
void reloadSliceFills()
Reload all slice fills from the data source immediately.
Definition: CPTPieChart.m:482
Pie chart delegate.
Definition: CPTPieChart.h:119
A plot data source.
Definition: CPTPlot.h:51
CGPoint centerAnchor
The position of the center of the pie chart with the x and y coordinates given as a fraction of the w...
Definition: CPTPieChart.h:204
CPTPieChartBinding __nonnull const CPTPieChartBindingPieSliceRadialOffsets
Pie slice radial offsets.
Definition: CPTPieChart.m:30
CGFloat endAngle
The ending angle for the last slice in radians. If NaN, the ending angle is the same as the start ang...
Definition: CPTPieChart.h:202
CPTLineStyle * borderLineStyle
The line style used to outline the pie slices. If nil, no border is drawn. Defaults to nil.
Definition: CPTPieChart.h:209
@ CPTPieChartFieldSliceWidth
Pie slice width.
Definition: CPTPieChart.h:28
A pie chart.
Definition: CPTPieChart.h:196
void reloadRadialOffsets()
Reload all slice offsets from the data source immediately.
Definition: CPTPieChart.m:534
An immutable color.
Definition: CPTColor.h:3
CGFloat pieInnerRadius
The inner radius of the pie chart, used to create a “donut hole”. Defaults to 0.
Definition: CPTPieChart.h:200
Draws area fills.
Definition: CPTFill.h:18
CGFloat startAngle
The starting angle for the first slice in radians. Defaults to π/2.
Definition: CPTPieChart.h:201
CPTPieChartBinding __nonnull const CPTPieChartBindingPieSliceWidthValues
Pie slice widths.
Definition: CPTPieChart.m:28
@ CPTPieChartFieldSliceWidthNormalized
Pie slice width normalized [0, 1].
Definition: CPTPieChart.h:29
An abstract plot class.
Definition: CPTPlot.h:258
CPTPieChartField
Enumeration of pie chart data source field types.
Definition: CPTPieChart.h:27
@ CPTPieDirectionClockwise
Pie slices are drawn in a clockwise direction.
Definition: CPTPieChart.h:37
CPTPieChartBinding __nonnull const CPTPieChartBindingPieSliceFills
Pie slice interior fills.
Definition: CPTPieChart.m:29
CPTFill * overlayFill
A fill drawn on top of the pie chart. Can be used to add shading and/or gloss effects....
Definition: CPTPieChart.h:210
A Core Animation layer that displays text drawn in a uniform style.
Definition: CPTTextLayer.h:9
#define cpt_swift_struct
Marks a type definition to be imported into Swift as a structure.
Definition: CPTDefinitions.h:73
@ CPTPieDirectionCounterClockwise
Pie slices are drawn in a counter-clockwise direction.
Definition: CPTPieChart.h:38
Plot delegate.
Definition: CPTPlot.h:170
CPTPieDirection sliceDirection
Determines whether the pie slices are drawn in a clockwise or counter-clockwise direction from the st...
Definition: CPTPieChart.h:203
BOOL labelRotationRelativeToRadius
If NO, the default, the data labels are rotated relative to the default coordinate system (the positi...
Definition: CPTPieChart.h:215