YAxis
configurationThe y axis configuration options of the scatter chart. Supports all valueAxis options.
yAxis
ArrayyAxis.axisCrossingValue
Object|Date|ArrayValue at which the Y axis crosses this axis. (Only for object)
Value indices at which the Y axes cross the value axis. (Only for array)
Date at which the Y axis crosses this axis. (Only for date)
Set a value greater than or equal to the axis maximum value to denote the far end of the axis.
yAxis.background
StringThe background color of the axis.
yAxis.baseUnit
StringThe base time interval for the axis labels. The default baseUnit is determined automatically from the value range. Available options:
- milliseconds
- seconds
- minutes
- hours
- days
- weeks
- months
- years
yAxis.categories
ArrayThe category names. Applicable for charts with X and Y category axes (heatmap).
yAxis.color
StringThe color of the axis. Accepts a valid CSS color string, including hex and rgb.
yAxis.crosshair
ObjectThe crosshair configuration options.
The crosshair is displayed when the yAxis.crosshair.visible option is set to
true.
yAxis.labels
ObjectThe axis labels configuration.
yAxis.line
ObjectThe configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines.
yAxis.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.
yAxis.majorTicks
ObjectThe configuration of the scatter chart y axis major ticks.
yAxis.majorUnit
NumberThe interval between major divisions.
If this is a date axis the value represents the number of xAxis.baseUnits between major divisions.
If the yAxis.type is set to "log", the majorUnit value will be used for the base of the logarithm.
yAxis.max
ObjectThe maximum value of the axis.
yAxis.min
ObjectThe minimum value of the axis.
yAxis.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.
yAxis.minorTicks
ObjectThe configuration of the y axis minor ticks.
yAxis.minorUnit
NumberThe interval between minor divisions. It defaults to 1/5 of the yAxis.majorUnit.
If the yAxis.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.
yAxis.name
StringThe unique axis name. Used to associate a series with a y axis using the series.yAxis option.
Default: "primary"
yAxis.narrowRange
BooleanIf set to true the chart will prevent the automatic axis range from snapping to 0.
Setting it to false will force the automatic axis range to snap to 0.
Default: false
yAxis.notes
ObjectThe y axis notes configuration.
yAxis.pane
StringThe name of the pane that the axis should be rendered in. The axis will be rendered in the first (default) pane if not set.
yAxis.plotBands
ArrayThe plot bands of the y axis.
yAxis.reverse
BooleanIf set to true the value axis direction will be reversed. By default values increase from left to right and from bottom to top.
Default: false
yAxis.title
ObjectThe title configuration of the scatter chart y axis.
The yAxis.title.text option must be set in order to display the title.
yAxis.type
StringThe axis type.
The supported values are:
- "numeric" - numeric axis.
- "date" - specialized axis for displaying chronological data.
- "log" - logarithmic axis.
The chart will automatically switch to a date axis if the series X value
is of type Date. Set the xAsix.type when such behavior is undesired.
Default: "numeric"
yAxis.visible
BooleanIf set to true the chart will display the y axis. By default the y axis is visible.
Default: true