Interface for a class StockChartAxis
number
The polar radar radius position.
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.
CrosshairTooltipModel
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
Specifies the Trim property for an axis.
number
Specifies the interval for an axis.
Specifies the types like Years
, Months
, Days
, Hours
, Minutes
, Seconds
in date time axis.They are,
boolean
It specifies whether the axis to be rendered in inversed manner or not.
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.
Specifies the actions like Hide
, Rotate45
, and Rotate90
when the axis labels intersect with each other.They are,
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.
AxisLineModel
Options for customizing axis lines.
number
The base value for logarithmic axis. It requires valueType
to be Logarithmic
.
MajorGridLinesModel
Options for customizing major grid lines.
MajorTickLinesModel
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.
MinorGridLinesModel
Options for customizing minor grid lines.
MinorTickLinesModel
Options for customizing minor tick lines.
number
Specifies the number of minor ticks per interval.
string
Unique identifier of an axis. To associate an axis with the 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.
Specifies the padding for the axis range in terms of interval.They 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');
string
Specifies the skeleton format in which the dateTime format will process.
It specifies the type of format to be used in dateTime format process.
number
Specifies the number of columns
or rows
an axis has to span horizontally or vertically.
number
The start angle for the series.
StockChartStripLineSettingsModel[]
Specifies the stripLine collection for the axis.
number
TabIndex value for the axis.
Specifies the placement of a ticks to the axis line. They are,
string
Specifies the title of an axis.
Options for customizing the axis title.
Specifies the type of data the axis is handling.
boolean
If set to true, axis label will be visible.
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.