Inherits from TKStyleNode : NSObject
Declared in TKChartSeriesStyle.h

Overview

This class contains style properties aplicable for chart series.

Tasks

Properties

fill

The fill color to be used.

@property (nonatomic, strong) TKFill *fill

Return Value

An instance of UIColor representing the fill color.

Declared In

TKChartSeriesStyle.h

palette

The palette containing item colors.

@property (nonatomic, strong) TKChartPalette *palette

Declared In

TKChartSeriesStyle.h

paletteMode

Specifies how you ask for colors in the palette.

@property (nonatomic, assign) TKChartSeriesStylePaletteMode paletteMode

Discussion

When the palette mode is TKChartSeriesStylePaletteModeUseSeriesIndex, the series index is used as a color index in the palette and the item index is ignored.

When the palette mode is TKChartSeriesStylePaletteModeUseItemIndex, the item index is used as ca olor index in the palette.

The palette modes are defined as follows:

typedef enum {
    TKChartSeriesStylePaletteModeUseSeriesIndex, // Uses series index when asking for theme palette color.
    TKChartSeriesStylePaletteModeUseItemIndex    // Uses item index when asking for theme palette color.
} TKChartSeriesStylePaletteMode;

Declared In

TKChartSeriesStyle.h

pointLabelStyle

The style for point labels.

@property (nonatomic, strong) TKChartPointLabelStyle *pointLabelStyle

Return Value

An instance of TKChartPointLabelStyle representing the point labels' style.

Declared In

TKChartSeriesStyle.h

pointShape

Shape to draw at the data points. It is supported for line, area and scatter series. By default, it is a circle with a size of 6 px on scatter series and nil (no shape) for line and area.

@property (nonatomic, strong) TKShape *pointShape

Declared In

TKChartSeriesStyle.h

shapeMode

For line and area series this property determines the shapes that are shown for first and last points.

@property (nonatomic, assign) TKChartSeriesStyleShapeMode shapeMode

Discussion

The shape modes are defined as follows:

typedef enum {
    TKChartSeriesStyleShapeModeShowOnMiddlePointsOnly,  // Does not show shapes on the first and the last point of the area and line series (default).
    TKChartSeriesStyleShapeModeAlwaysShow,              // Shows all shapes.
} TKChartSeriesStyleShapeMode;

Declared In

TKChartSeriesStyle.h

shapePalette

The palette containing the shape colors used.

@property (nonatomic, strong) TKChartPalette *shapePalette

Declared In

TKChartSeriesStyle.h

stroke

The stroke color to be used.

@property (nonatomic, strong) TKStroke *stroke

Return Value

An instance of UIColor representing the stroke color.

Declared In

TKChartSeriesStyle.h