New to Kendo UI for AngularStart a free 30-day trial

CategoryAxisItemComponent

Represents the configuration component for a category axis (see example).

Selector

kendo-chart-category-axis-item

Inputs

NameTypeDefaultDescription

autoBaseUnitSteps

AutoBaseUnitSteps

Specifies the automatic base unit steps configuration.

axisCrossingValue

any

Specifies the axis crossing value or values.

background

string

Specifies the background color of the axis.

baseUnit

CategoryBaseUnit

Specifies the base unit of the axis.

baseUnitStep

number | "auto"

Specifies the base unit step of the axis.

categories

any[]

Specifies the categories for the axis.

color

string

Specifies the color of the axis.

crosshair

CategoryAxisCrosshair

Specifies the crosshair configuration of the axis.

justified

boolean

Determines whether the axis is justified.

labels

CategoryAxisLabels

Specifies the labels configuration of the axis.

line

AxisLine

Specifies the line configuration of the axis.

majorGridLines

GridLines

Specifies the major grid lines configuration of the axis.

majorTicks

AxisTicks

Specifies the major ticks configuration of the axis.

max

any

Specifies the maximum value of the axis.

maxDateGroups

number

10

Specifies the maximum number of groups (categories) to display when categoryAxis.baseUnit is set to "fit" or categoryAxis.baseUnitStep is set to "auto".

maxDivisions

number

Specifies the maximum divisions of the axis.

min

any

Specifies the minimum value of the axis.

minorGridLines

GridLines

Specifies the minor grid lines configuration of the axis.

minorTicks

AxisTicks

Specifies the minor ticks configuration of the axis.

name

string

'primary'

Specifies the unique axis name. Use it to associate a series with a category axis, which utilizes the series.categoryAxis option.

notes

CategoryAxisNotes

Specifies the notes configuration of the axis.

pane

string

Specifies the pane of the axis.

plotBands

PlotBand[]

Specifies the plot bands configuration of the axis.

rangeLabels

CategoryAxisRangeLabels

Specifies the range labels configuration of the axis.

reverse

boolean

false

Determines whether the category axis direction is reversed. Categories are listed from left to right and from bottom to top by default.

roundToBaseUnit

boolean

true

Determines whether the Chart rounds the first and last date to the nearest base unit.

select

CategoryAxisSelect

Specifies the selection configuration of the axis.

startAngle

number

90

Specifies the angle (degrees) of the first category on the axis. Use positive values to increase the angle clockwise with zero to the left. Negative values are acceptable.

title

CategoryAxisTitle

Specifies the title configuration of the axis.

type

"category" | "date"

'category'

Specifies the category axis type. Use category for a discrete category axis and date for a specialized axis for displaying chronological data.

visible

boolean

true

Determines whether the Chart displays the category axis. The category axis is visible by default.

weekStartDay

WeekStartDay

'Sunday'

Specifies the week start day when the baseUnit is set to "weeks".

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
item.notifyChanges({ visible: true });
Parameters

changes

any

An object containing the updated input fields.

In this article
SelectorInputsMethods
Not finding the help you need?
Contact Support