CategoryAxis
The configuration options of the category axis.
Name | Type | Default | Description |
---|---|---|---|
autoBaseUnitSteps? |
|
The time-interval steps when | |
axisCrossingValue? |
|
The category index or the date (for date category axis) at which the first value axis crosses this axis. The category indices or the date (for date category axis) at which the value axes cross the category axis (when set as an array). To denote the far end of the axis, set an index greater than or equal to the number of categories. | |
background? |
|
The background color of the axis. | |
baseUnit? |
|
The base time interval for the date axis. The default base unit is automatically determined by the
minimum difference between subsequent categories.
Setting Series data is aggregated for the specified base unit by using the | |
baseUnitStep? |
|
The step (interval) between the categories in base units. Setting it to | |
categories? |
|
The category names. The Chart creates a category for every item of the array. | |
color? |
|
The color to apply to all axis elements. Accepts a valid CSS color string, including HEX and RGB.
Can be overridden by | |
crosshair? |
|
The configuration options of the crosshair.
The crosshair is displayed when the | |
justified? |
|
If set to | |
labels? |
|
The configuration of the axis labels. | |
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 category axis major ticks. | |
max? |
|
The last date displayed on a date category axis or the index of the last category displayed on a category axis.
By default, the max value is the same as the last category.
This is often used in combination with the | |
maxDateGroups? |
|
The maximum number of groups (categories) to display when
| |
maxDivisions? |
|
The maximum number of ticks and labels to display. Applicable for date category axis. | |
min? |
|
The first date which is displayed on a date category axis or the index of the first category which is displayed on a category axis.
By default, the min value is the same as the first category.
This is often used in combination with the | |
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 category axis minor ticks. | |
name? |
|
The unique axis name. Used to associate a series with a category axis,
which utilizes the | |
notes? |
|
The configuration of the category axis notes. | |
pane? |
|
The name of the pane in which the category axis has to be rendered. If not set, the axis will be rendered in the first (default) pane. | |
plotBands? |
|
The plot bands of the category axis. | |
rangeLabels? |
|
The configuration of the date axis date range labels. | |
reverse? |
|
If set to | |
roundToBaseUnit? |
|
If set to | |
select? |
|
The selected axis range. If set, the axis selection is enabled.
The range is index-based, starting from zero.
Categories with indexes in the range ( | |
startAngle? |
|
The angle (degrees) of the first category on the axis. Angles increase clockwise with zero to the left. Negative values are acceptable. | |
title? |
|
The title configuration of the category axis.
To display the title, set the | |
type? |
|
The category axis type.
The supported values include | |
visible? |
|
If set to | |
weekStartDay? |
|
The week start day when the |