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:

Object

The axis's displayed range.

visualRange(visualRange)

Sets the axis's displayed range.

Parameters:
visualRange:

Array<Number | String | Date>

|

Object

The axis' new displayed range.