CategoryAxis
Represents the category axis configuration options.
Name | Type | Default | Description |
---|---|---|---|
autoBaseUnitSteps? |
|
Sets the time-interval steps when | |
axisCrossingValue? |
|
Sets the category index or date at which the first value axis crosses this axis. Use an array to set the category indices or dates at which the value axes cross the category axis. To denote the far end of the axis, set an index greater than or equal to the number of categories. | |
background? |
|
Sets the background color of the axis. | |
baseUnit? |
|
Sets the base time interval for the date axis.
The default base unit is automatically determined by the minimum difference between subsequent categories. Use | |
baseUnitStep? |
|
Sets the step (interval) between categories in base units.
Use | |
categories? |
|
Sets the category names. The Chart creates a category for every item of the array. | |
color? |
|
Sets the color to apply to all axis elements.
Accepts a valid CSS color string, including HEX and RGB and can be overridden by | |
crosshair? |
|
Configures the crosshair options.
The crosshair is displayed when the | |
justified? |
|
Determines if the Chart positions categories and series points on major ticks.
This removes the empty space before and after the series. The default value is | |
labels? |
|
Configures the axis labels. | |
line? |
|
Configures the axis lines. Also affects the major and minor ticks, but not the grid lines. | |
majorGridLines? |
|
Configures the major grid lines. These are the lines that are an extension of the major ticks through the body of the Chart. | |
majorTicks? |
|
Configures the category axis major ticks. | |
max? |
|
Sets 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 | |
maxDateGroups? |
|
Sets the maximum number of groups (categories) to display when | |
maxDivisions? |
|
Sets the maximum number of ticks and labels to display. Applicable for date category axis. | |
min? |
|
Sets the first date displayed on a date category axis or the index of the first category displayed on a category axis.
By default, the min value is the same as the first category. This is often used in combination with | |
minorGridLines? |
|
Configures the minor grid lines. These are the lines that are an extension of the minor ticks through the body of the Chart. | |
minorTicks? |
|
Configures the category axis minor ticks. | |
name? |
|
Sets the unique axis name.
Used to associate a series with a category axis, which utilizes the | |
notes? |
|
Configures the category axis notes. | |
pane? |
|
Sets 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? |
|
Sets the plot bands of the category axis. | |
rangeLabels? |
|
Configures the date axis date range labels. | |
reverse? |
|
Determines if the category axis direction is reversed. By default, categories are listed from left to right and from bottom to top. | |
roundToBaseUnit? |
|
Determines if the Chart rounds the first and last date to the nearest base unit. | |
select? |
|
Configures the selected axis range.
Setting this option enables axis selection and the range is index-based, starting from zero. Categories with indexes in the range ( | |
startAngle? |
|
Sets the angle (degrees) of the first category on the axis. Angles increase clockwise with zero to the left and negative values are acceptable. | |
title? |
|
Configures the title of the category axis.
To display the title, set the | |
type? |
|
Sets the category axis type.
Use | |
visible? |
|
Determines if the Chart displays the category axis. By default, the category axis is visible. | |
weekStartDay? |
|
Sets the week start day when the |