IGNumericYAxis Class Reference

Inherits from IGNumericAxisBase : IGAxis : NSObject
Declared in Axis.h

Overview

A IGNumericYAxis is a vertical axis that is used to display a sequence of numeric labels. This axis type is used by nearly all series. The range of the axis is determined by the data used in the series. The range can also be set excplicitly via minimum and maximum properties. The axis can use a linear or a logarithmic scale.

IGNumericYAxis contains horizontal major and minor grid lines. Major grid lines are placed for each label. The number of minor grid lines depends on the size of the axis. The range between two major grid lines is typically split up into 2, 5 or 10 sections. Minor grid lines are used to denote these sections.

Axis labels can be placed in one of the four locations: outside left of the plotting area, inside the plotting area left of the axis line, inside the plotting area right of the axis line, and outside right of the plotting area. It’s common to set crossingAxis and crossingValue when setting labelsLocation to an inside value.

CrossingAxis and crossingValue allow the axis to intersect the X axis at a specific value.

  labelAlignment

An enumeration value that specifies the label alignment.

@property (nonatomic) IGHorizontalAlign labelAlignment

Discussion

This property is used to set the alignment of the axis labels. The labels can be left, center, or right aligned.

Declared In

Axis.h

  labelOrientationAngle

Angle of rotation (in degrees) used by the axis labels.

@property (nonatomic) CGFloat labelOrientationAngle

Declared In

Axis.h