Configures the axes in the chart.
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='Chart3D'></div>
let chart3D: Chart3D = new Chart3D({
...
columns: [{ width: '50%' },
{ width: '50%' }],
axes: [{
name: 'xAxis 1',
columnIndex: 1,
}],
...
});
chart3D.appendTo('#Chart3D');
Defaults to 0
number
With this property, you can request axis to calculate intervals approximately equal to your specified interval.
Defaults to null
Specifies the position of labels at the edge of the axis.They are,
Defaults to ‘None’
boolean
Specifies the Trim property for an axis.
Defaults to false
number
Specifies the interval for an axis.
Defaults to null
Specifies the types like Years
, Months
, Days
, Hours
, Minutes
, Seconds
in date time axis.They are,
Defaults to ‘Auto’
boolean
Specifies indexed category axis.
Defaults to false
boolean
It specifies whether the axis to be rendered in inversed manner or not.
Defaults to false
string
Used to format the axis label that accepts any global string format like ‘C’, ‘n1’, ‘P’ etc. It also accepts placeholder like ‘{value}°C’ in which value represent the axis label, e.g, 20°C.
Defaults to ”
Specifies the actions like None
, Hide
, Trim
, Wrap
, MultipleRows
, Rotate45
, and Rotate90
when the axis labels intersect with each other.They are,
Defaults to Trim
number
Specifies the labelPadding from axis.
Defaults to 5
Specifies the placement of a label for category axis. They are,
Defaults to ‘OnTicks’
number
The angle to which the axis label gets rotated.
Defaults to 0
Options to customize the axis label.
number
The base value for logarithmic axis. It requires valueType
to be Logarithmic
.
Defaults to 10
Options for customizing major grid lines.
Options for customizing major tick lines.
Object
Specifies the maximum range of an axis.
Defaults to null
number
Specifies the maximum width of an axis label.
Defaults to 34.
number
The maximum number of label count per 100 pixels with respect to the axis length.
Defaults to 3
Object
Specifies the minimum range of an axis.
Defaults to null
Options for customizing minor grid lines.
Options for customizing minor tick lines.
number
Specifies the number of minor ticks per interval.
Defaults to 0
string
Unique identifier of an axis. To associate an axis with the series, set this name to the xAxisName/yAxisName properties of the series.
Defaults to ”
boolean
If set to true, the axis will render at the opposite side of its default position.
Defaults to false
number
Left and right padding for the plot area in pixels.
Defaults to 0
number
Bottom padding for the plot area in pixels.
Defaults to null
number
Left padding for the plot area in pixels.
Defaults to null
number
Right padding for the plot area in pixels.
Defaults to null
number
Top padding for the plot area in pixels.
Defaults to null
Specifies the padding for the axis range in terms of interval.They are,
Defaults to ‘Auto’
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='Chart3D'></div>
let chart3D: Chart3D = new Chart3D({
...
rows: [{ height: '50%' },
{ height: '50%' }],
axes: [{
name: 'yAxis 1',
rowIndex: 1,
}],
...
});
chart3D.appendTo('#Chart3D');
Defaults to 0
string
Specifies the skeleton format in which the dateTime format will process.
Defaults to ”
It specifies the type of format to be used in dateTime format process.
Defaults to ‘DateTime’
number
Specifies the number of columns
or rows
an axis has to span horizontally or vertically.
Defaults to 1
boolean
It specifies whether the axis to be start from zero.
Defaults to true
string
Specifies the title of an axis.
Defaults to ”
number
Specifies the titlePadding from axis label.
Defaults to 5
number
Defines an angle to rotate axis title. By default, angle auto calculated based on position and orientation of axis.
Defaults to null
Options for customizing the axis title.
Specifies the data types that the axis can handle:
Defaults to ‘Double’
boolean
If set to true, axis label will be visible.
Defaults to true
Finds the size of labels with specified inner padding within the 3D chart.
Parameter | Type | Description |
---|---|---|
innerPadding | number |
The inner padding value for labels. |
chart | Chart3D |
The 3D chart for which label size is calculated. |
Returns number
Triggers the axis range calculated event with specified minimum, maximum, and interval values.
Parameter | Type | Description |
---|---|---|
chart | Chart3D |
The 3D chart for which the range is being calculated. |
minimum | number |
The minimum value of the range. |
maximum | number |
The maximum value of the range. |
interval | number |
The interval value for the range. |
Returns void