AxisDefaultsComponent
The default options for all Chart axes (see example).
Accepts the options which are supported by categoryAxis
,
valueAxis
,
xAxis
,
and yAxis
.
Selector
kendo-chart-axis-defaults
Inputs
Name | Type | Default | Description |
---|---|---|---|
background |
|
The background color of the axis. | |
color |
|
The color to apply to all axis elements. Accepts a valid CSS color string, including HEX and RGB. | |
crosshair |
|
The crosshair configuration options.
The crosshair is displayed when the | |
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 axis major ticks. | |
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 axis minor ticks. | |
narrowRange |
|
|
If set to |
pane |
|
The name of the pane in which the axis has to be rendered. If not set, the axis will be rendered in the first (default) pane. | |
plotBands |
|
The plot bands of the axis. | |
reverse |
|
|
If set to |
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 axis.
To display the title, set the | |
visible |
|
|
If set to |
Methods
notifyChanges | ||||||
---|---|---|---|---|---|---|
Updates the component fields with the specified values and refreshes the Chart. Use this method when the configuration values cannot be set through the template. ts
| ||||||
|