SChartLegendSymbolDonutSeries Class Reference

Inherits from SChartLegendSymbol : UIView
Declared in SChartLegendSymbolDonutSeries.h
Availability Standard
Premium
Related samples

Overview

A symbol designed to represent a donut series in the chart legend.

The symbol makes use of the series styling, in order to better represent it in the legend.

Tasks

Styling

Initialization

Properties

style

The style object for the series associated with this legend symbol.

@property (nonatomic, retain) SChartDonutSeriesStyle *style

Discussion

This property allows you to query the style properties which have been used to create this legend symbol.

Declared In

SChartLegendSymbolDonutSeries.h

Instance Methods

initWithSeries:andSliceIndex:

Initializes and returns a newly allocated symbol to represent the specified slice in the specified donut series.

- (id)initWithSeries:(SChartDonutSeries *)donutSeries andSliceIndex:(NSInteger)index

Parameters

donutSeries

The chart series which this symbol will be associated with.

index

The slice in the series which the symbol will represent.

Return Value

An initialized symbol, or nil if it couldn’t be created.

Declared In

SChartLegendSymbolDonutSeries.h