Interface for a class Axis
Border of the multi level labels.
number
The polar radar radius position.
number
Specifies the index of the column where the axis is associated,
when the chart area is divided into multiple plot areas by using columns
.
<div id='Chart'></div>
let chart: Chart = new Chart({
...
columns: [{ width: '50%' },
{ width: '50%' }],
axes: [{
name: 'xAxis 1',
columnIndex: 1,
}],
...
});
chart.appendTo('#Chart');
Object
Specifies the value at which the axis line has to be intersect with the vertical axis or vice versa.
string
Specifies axis name with which the axis line has to be crossed.
Options to customize the crosshair ToolTip.
string
Description for axis and its element.
number
With this property, you can request axis to calculate intervals approximately equal to your specified interval.
Specifies the position of labels at the edge of the axis.They are,
boolean
If set to true, axis interval will be calculated automatically with respect to the zoomed range.
boolean
Enables the scrollbar for zooming.
boolean
If set to true, axis labels will be trimmed based on the maximumLabelWidth.
number
Specifies the interval for an axis.
Specifies the interval types for the date-time axis, including Auto
, Years
, Months
, Days
, Hours
, and Minutes
. These types define the interval of the axis as follows:
boolean
If set to true, data points are rendered based on the index.
boolean
If set to true, the axis will be rendered in an inversed manner.
string
Used to format the axis label, which accepts any global string format like ‘C’, ‘n1’, ‘P’, etc. It also accepts placeholders like ‘{value}°C’ where ‘value’ represents the axis label (e.g., 20°C).
Specifies the actions like None
, Hide
, Trim
, Wrap
, MultipleRows
, Rotate45
, and Rotate90
when the axis labels intersect with each other.They are,
number
Specifies the padding for the axis labels from axis.
Specifies the placement of a label for category axis. They are,
Specifies the placement of a labels to the axis line. They are,
number
The angle to which the axis label gets rotated.
Options to customize the axis label.
It specifies alignment of the line break labels.
Options for customizing axis lines.
number
The base value for logarithmic axis. It requires valueType
to be Logarithmic
.
Options for customizing major grid lines.
Options for customizing major tick lines.
Object
Specifies the maximum range of an axis.
number
Specifies the maximum width of an axis label.
number
The maximum number of label count per 100 pixels with respect to the axis length.
Object
Specifies the minimum range of an axis.
Options for customizing minor grid lines.
Options for customizing minor tick lines.
number
Specifies the number of minor ticks per interval.
Specifies the multi level labels collection for the axis.
string
A unique identifier for an axis. To associate an axis with a series, set this name to the xAxisName/yAxisName properties of the series.
boolean
If set to true, the axis will render at the opposite side of its default position.
boolean
Specifies whether axis elements like axis labels, axis title, etc has to be crossed with axis line.
number
Left and right padding for the plot area in pixels.
number
Bottom padding for the plot area in pixels.
number
Left padding for the plot area in pixels.
number
Right padding for the plot area in pixels.
number
Top padding for the plot area in pixels.
Specifies the padding for the axis range in terms of interval. Available options are:
number
Specifies the index of the row where the axis is associated, when the chart area is divided into multiple plot areas by using rows
.
<div id='Chart'></div>
let chart: Chart = new Chart({
...
rows: [{ height: '50%' },
{ height: '50%' }],
axes: [{
name: 'yAxis 1',
rowIndex: 1,
}],
...
});
chart.appendTo('#Chart');
Option to customize scrollbar with lazy loading.
string
Specifies the skeleton format in which the dateTime will be processed.
Specifies the format type to be used in dateTime formatting.
number
Specifies the number of columns
or rows
an axis has to span horizontally or vertically.
number
The start angle for the series.
boolean
It specifies whether the axis should start from zero.
Specifies the stripLine collection for the axis.
number
TabIndex value for the axis.
Specifies the placement of the ticks to the axis line. They are,
string
Specifies the title of an axis.
number
Specifies the titlePadding from axis label.
number
Defines an angle to rotate axis title. By default, angle auto calculated based on position and orientation of axis.
Options for customizing the axis title.
Specifies the data types that the axis can handle. Available options include:
boolean
If set to true, axis labels will be visible in the chart. By default, axis labels are enabled.
number
The axis is scaled by this factor. When zoomFactor is 0.5, the chart is scaled by 200% along this axis. Value ranges from 0 to 1.
number
Position of the zoomed axis. Value ranges from 0 to 1.