SChartPieSeries Class Reference

Inherits from SChartDonutSeries : SChartRadialSeries : SChartSeries : NSObject
Declared in SChartPieSeries.h
Availability Standard
Premium
Related samples PieChart

Overview

SChartPieSeries displays magnitude data on the chart - the larger the value of the datapoint, the larger the slice representing that datapoint.

SChartPieSeries inherits most of its behavior from its parent SChartDonutSeries. Have a look at the SChartDonutSeries API documentation for more information on the common behavior.

One way in which pie series differ from donut series is with regard to styling. A pie series contains an instance of SChartPieSeriesStyle, which manages its appearance.

Instance Methods

getPieCenter

Identical to [SChartDonutSeries getDonutCenter]. This returns the center point of the pie, within the chart frame.

- (CGPoint)getPieCenter

Declared In

SChartPieSeries.h

selectedStyle

Manages the appearance of the pie series when it is selected.

- (SChartPieSeriesStyle *)selectedStyle

Discussion

Style settings in this object will be applied when the series is marked as selected (or a slice is selected).

The default settings of the style are inherited from the chart theme. You can tweak the appearance of the series by modifying the style.

Declared In

SChartPieSeries.h

setSelectedStyle:

Sets the style object for the scatter series when it is selected.

- (void)setSelectedStyle:(SChartPieSeriesStyle *)selectedStyle

Parameters

selectedStyle

The new style object to use.

See Also

Declared In

SChartPieSeries.h

setStyle:

Sets the style object for the pie series.

- (void)setStyle:(SChartPieSeriesStyle *)style

Parameters

style

The new style object to use for the pie series.

See Also

Declared In

SChartPieSeries.h

style

Manages the appearance of the pie series on the chart.

- (SChartPieSeriesStyle *)style

Discussion

The default settings of the style are inherited from the chart theme. You can tweak the appearance of the series by modifying the style.

Declared In

SChartPieSeries.h