XAxis
The configuration options of the X-axis.
NAME | TYPE | DEFAULT | DESCRIPTION |
---|---|---|---|
axisCrossingValue? | any |
To denote the far end of the axis, set a value that is greater than or equal to the axis maximum value. | |
background? | string | The background color of the axis. | |
baseUnit? | The base time interval for the axis labels.
The default The available options are:
| ||
categories? | any[] | The category names. Applicable for charts with X and Y category axes. | |
color? | string | The color of the axis. Accepts a valid CSS color string, including hex and rgb. | |
crosshair? | The configuration options of the crosshair.
The crosshair is displayed when the | ||
labels? | The axis labels configuration. | ||
line? | The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines. | ||
majorGridLines? | The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the body of the Chart. | ||
majorTicks? | The configuration of the Scatter Chart X-axis major ticks. | ||
majorUnit? | number | The interval between major divisions.
If this is a date axis, the value represents the number of | |
max? | any | The maximum value of the axis. | |
min? | any | The minimum value of the axis. | |
minorGridLines? | The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the body of the Chart. | ||
minorTicks? | The configuration of the X-axis minor ticks. | ||
minorUnit? | number | The interval between minor divisions. It defaults to 1/5 of the | |
name? | string | The unique axis name. Used to associate a series with a X axis by using the | |
narrowRange? | boolean | If set to | |
notes? | The X-axis notes configuration. | ||
pane? | string | The name of the pane in which the axis has to be rendered. If not set, the axis is rendered in the first (default) pane. | |
plotBands? | PlotBand[] | The plot bands of the X axis. | |
reverse? | boolean | If set to | |
startAngle? | number | The angle (in degrees) where the zero value is placed. Angles increase counterclockwise and zero is to the right. Negative values are acceptable. | |
title? | The title configuration of the Scatter Chart X axis.
To display the title, set the | ||
type? | "date" | "numeric" | "log" | The axis type. The supported values are:
If the series X value is of the | |
visible? | boolean | If set to | |
weekStartDay? | The week start day when the |