Inherits from TKStyleNode : NSObject
Declared in TKChartGridStyle.h

Overview

Represents a grid style of chart.

Properties

backgroundFill

The background fill color. By default, it is nil (no background color is drawn).

@property (nonatomic, strong) TKFill *backgroundFill

Declared In

TKChartGridStyle.h

drawOrder

The draw order. By default, it is TKGridDrawModeHorizontalFirst

@property (nonatomic, assign) TKChartGridDrawMode drawOrder

Discussion

The grid draw orders are defined as follows:

typedef enum TKGridDrawOrder {
    TKGridDrawModeHorizontalFirst,      // The grid is drawn horizontally and then vertically (default).
    TKGridDrawModeVerticalFirst         // The grid is drawn horizontally and then vertically.
} TKGridDrawOrder;

Declared In

TKChartGridStyle.h

horizontalAlternateFill

The background pattern of the alternate fill among horizontal lines.

@property (nonatomic, strong) TKFill *horizontalAlternateFill

Declared In

TKChartGridStyle.h

horizontalFill

The background pattern of the fill among horizontal lines.

@property (nonatomic, strong) TKFill *horizontalFill

Declared In

TKChartGridStyle.h

horizontalLineAlternateStroke

The horizontal alternate line stroke.

@property (nonatomic, strong) TKStroke *horizontalLineAlternateStroke

Declared In

TKChartGridStyle.h

horizontalLineStroke

The horizontal line stroke.

@property (nonatomic, strong) TKStroke *horizontalLineStroke

Declared In

TKChartGridStyle.h

horizontalLinesHidden

Determines whether the horizontal line is hidden.

@property (nonatomic, assign) BOOL horizontalLinesHidden

Declared In

TKChartGridStyle.h

verticalAlternateFill

The background pattern of alternate fill among vertical lines.

@property (nonatomic, strong) TKFill *verticalAlternateFill

Declared In

TKChartGridStyle.h

verticalFill

The background pattern of the fill among vertical lines.

@property (nonatomic, strong) TKFill *verticalFill

Declared In

TKChartGridStyle.h

verticalLineAlternateStroke

The vertical alternate line stroke.

@property (nonatomic, strong) TKStroke *verticalLineAlternateStroke

Declared In

TKChartGridStyle.h

verticalLineStroke

The vertical line stroke.

@property (nonatomic, strong) TKStroke *verticalLineStroke

Declared In

TKChartGridStyle.h

verticalLinesHidden

Determines whether the vertical line is hidden.

@property (nonatomic, assign) BOOL verticalLinesHidden

Declared In

TKChartGridStyle.h

zPosition

The grid position according to the series.

@property (nonatomic, assign) TKChartGridZPosition zPosition

Discussion

The grid Z positions are defined as follows:

typedef enum {
    TKChartGridZPositionBelowSeries,  // The grid is rendered below the series (default)
    TKChartGridZPositionAboveSeries   // The grid is rendered above the series.
} TKChartGridZPosition;

Declared In

TKChartGridStyle.h