ValueAxis
configurationThe value axis configuration options.
valueAxis
Array|ObjectvalueAxis.axisCrossingValue
Object|Date|ArrayValue at which the category axis crosses this axis. (Only for object)
Value indices at which the category axes cross the value axis. (Only for array)
Date at which the category axis crosses this axis. (Only for date)
valueAxis.background
StringThe background color of the axis.
valueAxis.color
StringThe color of the value axis. Accepts a valid CSS color string, including hex and rgb.
valueAxis.crosshair
ObjectThe crosshair configuration options.
The crosshair is displayed when the valueAxis.crosshair.visible option is set to
true.
valueAxis.labels
ObjectThe axis labels configuration.
valueAxis.line
ObjectThe configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines.
valueAxis.majorGridLines
ObjectThe configuration of the major grid lines. These are the lines that are an extension of the major ticks through the body of the chart.
valueAxis.majorTicks
ObjectThe configuration of the value axis major ticks.
valueAxis.majorUnit
NumberThe interval between major divisions.
If the valueAxis.type is set to "log", the majorUnit value will be used for the base of the logarithm.
valueAxis.max
NumberThe maximum value of the axis.
Default: 1
valueAxis.min
NumberThe minimum value of the axis. Under certain conditions, the narrowRange setting can overwrite this setting. To give priority to the min setting of your choice, set valueAxis.narrowRange to false.
Default: 0
valueAxis.minorGridLines
ObjectThe configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the body of the chart.
valueAxis.minorTicks
ObjectThe configuration of the value axis minor ticks.
valueAxis.minorUnit
NumberThe interval between minor divisions. It defaults to 1/5 of the valueAxis.majorUnit.
If the valueAxis.type is set to "log", the minorUnit value represents the number of divisions between two major units and defaults to the major unit minus one.
valueAxis.name
StringThe unique axis name. Used to associate a series with a value axis using the series.axis option.
Default: "primary"
valueAxis.narrowRange
BooleanIf set to true the Chart will narrow the value axis range in order to display data points in better detail.
Setting it to false will force the automatic axis range to start from 0 or the explicitly specified valueAxis.min value.
Default: true
valueAxis.notes
ObjectThe value axis notes configuration.
valueAxis.pane
StringThe name of the pane that the value axis should be rendered in. The axis will be rendered in the first (default) pane if not set.
valueAxis.plotBands
ArrayThe plot bands of the value axis.
valueAxis.reverse
BooleanIf set to true the value axis direction will be reversed. By default categories are listed from left to right and from bottom to top.
Important
A reverse value axis is not supported for radar and polar charts.
Default: false
valueAxis.title
ObjectThe title configuration of the value axis.
The valueAxis.title.text option must be set in order to display the title.
valueAxis.type
StringThe axis type.
The supported values are:
- "numeric" - numeric axis.
- "log" - logarithmic axis.
Default: "numeric"
valueAxis.visible
BooleanIf set to true the chart will display the value axis. By default the value axis is visible.
Default: true
valueAxis.zIndex
NumberAn optional Z-index that can be used to change the default stacking position of the valueAxis.
Available for RadarChart