ValueAxis
configurationThe value axis configuration options.
valueAxis
ArrayvalueAxis.axisCrossingValue
Object | Date | ArrayValue at which the category axis crosses this axis. (Only for object)
Value indicies 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.color
StringColor to apply to all axis elements. Individual color settings for line and labels take priority. Any valid CSS color string will work here, including hex and rgb.
valueAxis.crosshair
ObjectThe crosshair configuration options.
valueAxis.labels
ObjectConfigures the axis labels.
valueAxis.line
ObjectConfigures the axis line. This will also affect the major and minor ticks, but not the grid lines.
valueAxis.majorGridLines
ObjectConfigures 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 major ticks of the axis.
valueAxis.majorUnit
NumberThe interval between major divisions.
valueAxis.max
NumberThe maximum value of the axis. This is often used in combination with theminconfiguration option.
Default: 1
valueAxis.min
NumberThe minimum value of the axis. This is often used in combination with themaxconfiguration option.
Default: 0
valueAxis.minorGridLines
ObjectConfigures the minor grid lines. These are the lines that are an extension of the minor ticks through the
valueAxis.minorTicks
ObjectThe minor ticks of the axis.
valueAxis.minorUnit
NumberThe interval between minor divisions. It defaults to 1/5th of the majorUnit.
valueAxis.name
ObjectThe unique axis name.
Default: "primary"
valueAxis.narrowRange
BooleanPrevents the automatic axis range from snapping to 0.
Default: true
valueAxis.notes
ObjectThe value axis notes configuration.
valueAxis.plotBands
ArrayThe plot bands of the value axis.
valueAxis.reverse
BooleanReverses the axis direction - values increase from right to left and from top to bottom.
Default: false
valueAxis.title
ObjectThe title of the value axis.
valueAxis.visible
BooleanThe visibility of the axis.
Default: false