A newer version of this page is available. Switch to the current version.

JavaScript/jQuery Chart - Axis.Methods

Methods used to control the axis.

visualRange()

Gets the axis' displayed range.

Return Value: VisualRange

The axis's displayed range.

visualRange(visualRange)

Sets the axis's displayed range.

Parameters:
visualRange:

Array<Number | String | Date>

| VisualRange

The axis' new displayed range.