IGCategoryYAxis Class Reference

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

Overview

A IGCategoryYAxis is a vertical axis that is used to display a sequence of category labels.

IGCategoryYAxis is used by IGBarSeries. IGCategoryYAxis is represented by a vertical line and a set of labels. Labels are typically extracted from series datapoints.

IGCategoryYAxis contains horizontal major and minor grid lines. Major grid lines are placed between columns, while minor grid lines are placed in the middle of each column.

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 NumericXAxis 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

  interval

A value that determines the frequency of displayed labels.

@property (nonatomic) CGFloat interval

Discussion

This property is used to set the frequency of axis labels. A value of 1 will display every label. A value of 2 will display every other label, and so on. When unset, the axis will automatically determine the label frequency.

Declared In

Axis.h

  visibleMinimumValue

Returns the currently visible minimum axis value.

@property (nonatomic, readonly) CGFloat visibleMinimumValue

Declared In

Axis.h

  visibleMaximumValue

Returns the currently visible maximum axis value.

@property (nonatomic, readonly) CGFloat visibleMaximumValue

Declared In

Axis.h