SChartLineSeries Class Reference

Inherits from SChartScatterSeries : SChartPointSeries : SChartCartesianSeries : SChartMappedSeries : SChartSeries : NSObject
Declared in SChartLineSeries.h
Availability Standard
Premium
Related samples

Overview

SChartLineSeries is a type of SChartSeries that uses the data points to construct a line series.

The line series consists of a number of points which may or may not be marked, and which are connected by a line with an optional fill (ie: area series) between the line and the chart axis.

Properties

dataSmoother

Used to smooth the data provided to this series via the chart’s datasource.

@property (nonatomic, retain, nullable) id<SChartDataAdapter> dataSmoother

Discussion

A smoother usually fills in gaps in the series' dataset by supplementing the original data supplied via the chart’s datasource with newly created points generated algorithmically.

The points displayed represent the line series original points where the line being drawn represents the points returned from it’s dataSmoother.

The default value for this is nil.

Declared In

SChartLineSeries.h

Instance Methods

selectedStyle

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

- (SChartLineSeriesStyle *)selectedStyle

Discussion

Style settings in this object will be applied when the series is marked as selected (or a point 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

SChartLineSeries.h

setSelectedStyle:

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

- (void)setSelectedStyle:(SChartLineSeriesStyle *)selectedStyle

Parameters

selectedStyle

The new style object to use.

See Also

Declared In

SChartLineSeries.h

setStyle:

Sets the style object for the line series.

- (void)setStyle:(SChartLineSeriesStyle *)style

Parameters

style

The new style object to use for the line series.

See Also

Declared In

SChartLineSeries.h

style

Manages the appearance of the line series on the chart.

- (SChartLineSeriesStyle *)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

SChartLineSeries.h