Chart.Axes.Linear
Hierarchy
Common.AxisBaseChart.Axes.AxisChart.Axes.LinearSubclasses
The Linear Axis maps numeric values evenly between a minimum and maximum value along a chart axis. By default, it determines minimum, maximum, and interval values from the charting data to fit all of the chart elements on the screen. You can also explicitly set specific values for these properties.
Config options
Specifies whether or not the axis range should be extended to the origin.
The "extendRangeToOrigin" option of the linear axis is used when you want to display the origin (0 or the 'crossing' value) on the linear axis, but you don't want to have to set "minimum" or "maximum" because your data could have positive or negative values - or both.
Defaults to: false
Specifies how often points are plotted along that axis.
Automatically calculated if it is not set.
Specifies the axis labels.
Defaults to: {visible: true, fillStyle: 'black', lineWidth: 1, font: '11px sans-serif', position: 'outside', showLastLabel: true, showFirstLabel: true, hAlign: 'center', vAlign: 'center'}
Specifies the axis location - 'right', 'bottom', 'left' or 'top'.
Defaults to: 'left'
Specifies whether or not the axis scale is logarithmic.
Defaults to: false
Specifies the axis maximum.
Automatically calculated if it is not set.
Specifies the axis minimum.
Automatically calculated if it is not set.
Specifies how big is the step when scroll with mouse wheel.
Defaults to: 0.05
Specifies how big is the step when zoom with mouse wheel.
Defaults to: 0.001
Specifies the axis range slider.
Defaults to: {visible: true, breadth: 20}
Specifies whether or not the axis scale is reversed.
Defaults to: false
Specifies the axis line stroke dash array - [2, 4].
Specifies the axis line stroke dash array - [2, 4].
Specifies the axis type - 'category', 'linear', 'dateTime', 'categoryAngle', 'linearRadius' or 'linearAngle'.
Specifies the axis type - 'category', 'linear', 'dateTime', 'categoryAngle', 'linearRadius' or 'linearAngle'.
Specifies whether or not this axis should be displayed.
Defaults to: true