SChartLineSeriesStyle Class Reference

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

Overview

SChartLineSeriesStyle manages the appearance of an instance of SChartLineSeries on a chart.

Properties

areaColorBelowBaseline

The color of the fill between the line and the axis, when the line goes below the series baseline.

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

Declared In

SChartLineSeriesStyle.h

areaColorGradientBelowBaseline

The second color which is used to form a gradient area fill when the line goes below the series baseline

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

Declared In

SChartLineSeriesStyle.h

areaLineColorBelowBaseline

The color for the line if the area is filled

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

Discussion

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

Declared In

SChartLineSeriesStyle.h

lineColorBelowBaseline

The color of the line below the baseline

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

Discussion

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

Declared In

SChartLineSeriesStyle.h

lineCrosshairTraceStyle

The direction of the line data to allow the crosshair to traverse it smoothly

@property (nonatomic) SChartLineCrosshairTraceStyle lineCrosshairTraceStyle

Discussion

Line data points my be ordered from left to right (x-value sorted) or top to bottom (y-value sorted). This parameter lets the chart know in order to aid the tracing process.

  • SChartLineCrosshairTraceStyleHorizontal: Configures the line data points to be ordered from left to right (x-value sorted).
  • SChartLineCrosshairTraceStyleVertical: Configures the line data points to be ordered from top to bottom (y-value sorted).

Declared In

SChartLineSeriesStyle.h

Instance Methods

supplementStyleFromStyle:

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

- (void)supplementStyleFromStyle:(SChartLineSeriesStyle *)style

Parameters

style

The new style with which to update this style object.

Declared In

SChartLineSeriesStyle.h