NChartAxisGrid Class Reference

Inherits from NChartObject : NSObject
Declared in NChartAxisGrid.h

Overview

The NChartAxisGrid class provides storage for grid lines associated with the particular chart’s axis.

  majorGridLines

Grid lines of the major ticks.

@property (nonatomic, readonly) NChartAxisGridLines *majorGridLines

Declared In

NChartAxisGrid.h

  minorGridLines

Grid lines of the minor ticks.

@property (nonatomic, readonly) NChartAxisGridLines *minorGridLines

Declared In

NChartAxisGrid.h

  tinyGridLines

Grid lines of the tiny ticks.

@property (nonatomic, readonly) NChartAxisGridLines *tinyGridLines

Declared In

NChartAxisGrid.h

  color

Color of grid lines.
If you set a color value to this property, this value is set to all grid lines (majorGridLines, minorGridLines and tinyGridLines). If you read a value of this property, color of majorGridLines is returned.

@property (nonatomic, strong) UIColor *color

Declared In

NChartAxisGrid.h

  thickness

Thickness of grid lines.
If you set a thickness value to this property, this value is set to all grid lines (majorGridLines, minorGridLines and tinyGridLines). If you read a value of this property, thickness of majorGridLines is returned.

@property (nonatomic, assign) float thickness

Declared In

NChartAxisGrid.h

  lineDash

Dash of the grid lines.
If you set a dash value to this property, this value is set to all grid lines (majorGridLines, minorGridLines and tinyGridLines). If you read a value of this property, thickness of majorGridLines is returned.

@property (nonatomic, strong) NChartLineDash *lineDash

See Also

Declared In

NChartAxisGrid.h

  interlacedBackground

Array of brushes for interlaced background. If nil, no interlaced background is displayed. The default value is nil.
Interlaced background means that the space between axis grid lines is filled with the colors that are consecutively taken from this array. The array is looped, so if there are less elements then spaces between grid lines, the sequence of colors is multiplied. The elements of the array should be objects NChartSolidColorBrush.

@property (nonatomic, strong) NSArray *interlacedBackground

Discussion

Only NChartSolidColorBrush is supported, all other brushes (or other objects will be skipped).

Declared In

NChartAxisGrid.h