SChartLineSeriesBaseStyle Class Reference

Inherits from SChartScatterSeriesStyle : SChartPointSeriesStyle : SChartSeriesStyle : NSObject
Declared in SChartLineSeriesBaseStyle.h
Availability Standard
Premium
Related samples

Overview

SChartLineSeriesBaseStyle manages the appearance of an instance of SChartLineSeries and subclasses, on a chart.

Properties

areaColor

The color of the area fill between the line and the axis.

@property (nonatomic, strong, nullable) UIColor *areaColor

Declared In

SChartLineSeriesBaseStyle.h

areaColorLowGradient

The second color which is used to form a gradient area fill.

@property (nonatomic, strong, nullable) UIColor *areaColorLowGradient

Declared In

SChartLineSeriesBaseStyle.h

areaLineColor

The color for the line if the area is filled.

@property (nonatomic, strong, nullable) UIColor *areaLineColor

Discussion

If the area isn’t filled, lineColor is used instead.

Declared In

SChartLineSeriesBaseStyle.h

areaLineWidth

The width of the line in pixels, if the area is filled.

@property (nonatomic, strong, nullable) NSNumber *areaLineWidth

Discussion

If the area isn’t filled, lineWidth is used instead.

Declared In

SChartLineSeriesBaseStyle.h

fillWithGradient

If showFill is set to YES, this adds a gradient to the area fill.

@property (nonatomic) BOOL fillWithGradient

Discussion

The gradient starts at areaColor and finishes at areaColorLowGradient.

Declared In

SChartLineSeriesBaseStyle.h

lineColor

The color of the line.

@property (nonatomic, strong, nullable) UIColor *lineColor

Discussion

This property is used as long as showFill isn’t set to YES. If the area is filled, areaLineColor is used instead.

Declared In

SChartLineSeriesBaseStyle.h

lineWidth

The width of the line in pixels

@property (nonatomic, strong, nullable) NSNumber *lineWidth

Discussion

This property is used as long as showFill isn’t set to YES. If the area is filled, areaLineWidth is used instead.

Declared In

SChartLineSeriesBaseStyle.h

showFill

Defines whether the area between the line and the axis is filled.

@property (nonatomic) BOOL showFill

Discussion

The color of the area fill is defined by areaColor or areaColorBelowBaseline.

Declared In

SChartLineSeriesBaseStyle.h

Instance Methods

supplementStyleFromStyle:

Updates this style object using the configuration of the passed in style.

- (void)supplementStyleFromStyle:(SChartLineSeriesBaseStyle *)style

Parameters

style

The new style with which to update this style object.

Declared In

SChartLineSeriesBaseStyle.h