• What is KendoReact
  • Getting Started
  • Server Components
  • Components
    • Animation
    • Barcodes
    • Buttons
    • Chartsupdated
    • Common Utilities
    • Conversational UIupdated
    • Data Gridupdated
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Formupdated
    • Ganttupdated
    • Gauges
    • Indicators
    • Inputsupdated
    • Labels
    • Layoutupdated
    • ListBoxupdated
    • ListView
    • Map
    • Notification
    • OrgChartnew
    • PDF Processing
    • PDFViewer
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • ScrollView
    • Sortable
    • Spreadsheetupdated
    • 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.