Inherits from TKChartSeries : NSObject
Declared in TKChartPieSeries.h

Overview

Represents TKChart pie series.

Properties

adjustSizeToFit

Adjusts the pie chart size automatically to fit within available size when using expandRadius greather that 1.

@property (nonatomic) BOOL adjustSizeToFit

Declared In

TKChartPieSeries.h

displayPercentage

Determines if point labels should display data points percentage values.

@property (nonatomic) BOOL displayPercentage

Declared In

TKChartPieSeries.h

endAngle

The end angle of the series. Use this property along with startAngle to define a pie segment that will be used to present all points in this series. By default, the endAngle property is 2*pi radians.

@property (nonatomic, assign) CGFloat endAngle

Declared In

TKChartPieSeries.h

expandRadius

The radius factor to which a pie slice will expand when selected. It is measured in logical coordinates between 0 and 1, relative to the pie radius.

@property (nonatomic, assign) CGFloat expandRadius

Declared In

TKChartPieSeries.h

labelDisplayMode

Determines the display mode of labels. By default, it is TKChartPieSeriesLabelDisplayModeName.

@property (nonatomic, assign) TKChartPieSeriesLabelDisplayMode labelDisplayMode

Discussion

The label display modes are defined as follows:

typedef enum {
    TKChartPieSeriesLabelDisplayModeInside,         // Show point labels inside the pie.
    TKChartPieSeriesLabelDisplayModeOutside,        // Show point labels outside the pie.
} TKChartPieSeriesLabelDisplayMode;

Declared In

TKChartPieSeries.h

outerRadius

The pie series radius. It is measured in logical coordinates between 0 and 1.

@property (nonatomic, assign) CGFloat outerRadius

Declared In

TKChartPieSeries.h

radiusInset

Defines inset for the radius of the pie.

@property (nonatomic) CGFloat radiusInset

Declared In

TKChartPieSeries.h

rotationAngle

The pie rotation angle. The angle is measured in radians.

@property (nonatomic, assign) CGFloat rotationAngle

Declared In

TKChartPieSeries.h

rotationDeceleration

Defines the friction factor used when applying a rotation animation.

@property (nonatomic, assign) CGFloat rotationDeceleration

Declared In

TKChartPieSeries.h

rotationEnabled

Determines if pie rotation with gesture is enabled.

@property (nonatomic) BOOL rotationEnabled

Declared In

TKChartPieSeries.h

selectionAngle

Indicates the rotation angle to be used when selecting a slice. The rotation angle is measured in radians. By default, this value is nil. It indicates that no rotation will happen when selecting an item.

@property (nonatomic, strong) NSNumber *selectionAngle

Declared In

TKChartPieSeries.h

startAngle

The start angle of the series. Use this property along with endAngle to define a pie segment that will be used to present all points in this series. By default, the startAngle property is 0 radians.

@property (nonatomic, assign) CGFloat startAngle

Declared In

TKChartPieSeries.h