ChartAxisDefaultsProps
Represents the props of the KendoReact ChartAxisDefaults component (see example).
Definition
Package:@progress/kendo-react-charts
Properties
background?
string
The background color of the axis.
children?
ReactNode
The child components of the ChartAxisDefaults. Supported child components are: ChartAxisDefaultsCrosshair, ChartAxisDefaultsLabels, ChartAxisDefaultsTitle.
color?
string
The color to apply to all axis elements. Accepts a valid CSS color string, including hex and rgb.
crosshair?
AxisDefaultsCrosshair
The crosshair configuration options. The crosshair is displayed when the axisDefaults.crosshair.visible option is set to true.
labels?
AxisDefaultsLabels
The configuration of the axis labels.
The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines.
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.
The configuration of the axis major ticks.
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.
The configuration of the axis minor ticks.
narrowRange?
boolean
If set to true, the Chart prevents the axis range from snapping to zero. Setting it to false, forces the axis range to snap to zero.
pane?
string
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.
The plot bands of the axis.
reverse?
boolean
If set to true, the axis direction is reversed. By default, categories are listed from left to right and from bottom to top.
startAngle?
number
The angle (degrees) of the first category on the axis. Angles increase clockwise with zero to the left. Negative values are acceptable.
title?
AxisDefaultsTitle
The title configuration of the axis. To display the title, set the axisDefaults.title.text option.
visible?
boolean
If set to true, the Chart displays the axis. By default, the axis is visible.