• What is KendoReact
  • Getting Started
  • Unstyled Mode
  • Server Components
  • Components
    • Animation
    • Barcodes
    • Buttons
    • Chart Wizardnew
    • Chartsupdated
    • Common Utilities
    • Conversational UIupdated
    • Data Gridupdated
    • Data Query
    • Data Toolsupdated
    • Date Inputs
    • Date Math
    • Dialogsupdated
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Indicators
    • Inputsupdated
    • Labels
    • Layoutupdated
    • ListBoxupdated
    • ListView
    • Map
    • Notification
    • OrgChart
    • PDF Processing
    • PDF Viewer
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • Spreadsheet
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeViewupdated
    • Upload
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • Updates
  • Troubleshooting

ChartAxisDefaultsProps

Represents the props of the KendoReact ChartAxisDefaults component (see example).

NameTypeDefaultDescription

background?

string

The background color of the axis.

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.

line?

AxisLine

The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines.

majorGridLines?

GridLines

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?

AxisTicks

The configuration of the axis major ticks.

minorGridLines?

GridLines

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?

AxisTicks

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.

plotBands?

PlotBand[]

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.