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

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

Definition

Package:@progress/kendo-angular-charts

Selector:kendo-chart-category-axis-item

Inputs

Specifies the automatic base unit steps configuration.

Specifies the axis crossing value or values.

Specifies the background color of the axis.

Specifies the base unit of the axis.

baseUnitStep

number | "auto"

Specifies the base unit step of the axis.

Specifies the categories for the axis.

color

string

Specifies the color of the axis.

Specifies the crosshair configuration of the axis.

Specifies the highlight configuration of the axis.

justified

boolean

Determines whether the axis is justified.

Specifies the labels configuration of the axis.

Specifies the line configuration of the axis.

Specifies the major grid lines configuration of the axis.

Specifies the major ticks configuration of the axis.

max

any

Specifies the maximum value of the axis.

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

Default:

10

Specifies the maximum divisions of the axis.

min

any

Specifies the minimum value of the axis.

Specifies the minor grid lines configuration of the axis.

Specifies the minor ticks configuration of the axis.

name

string

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

Default:

'primary'

Specifies the notes configuration of the axis.

pane

string

Specifies the pane of the axis.

Specifies the plot bands configuration of the axis.

Specifies the range labels configuration of the axis.

reverse

boolean

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

Default:

false

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

Default:

true

Specifies the selection configuration of the axis.

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.

Default:

90

Specifies the title configuration of the axis.

type

"category" | "date"

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

Default:

'category'

visible

boolean

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

Default:

true

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

Default:

'Sunday'

Methods

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.

Parameters:changesany

An object containing the updated input fields.