CategoryAxisItemComponent
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.
background
string
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.
categories
any[]
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 major grid lines configuration of the axis.
Specifies the major ticks configuration of the axis.
max
any
Specifies the maximum value of the axis.
maxDateGroups
number
Specifies the maximum number of groups (categories) to display when
categoryAxis.baseUnit is set to "fit" or
categoryAxis.baseUnitStep is set to "auto".
10
maxDivisions
number
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.
'primary'
Specifies the notes configuration of the axis.
pane
string
Specifies the pane 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.
false
roundToBaseUnit
boolean
Determines whether the Chart rounds the first and last date to the nearest base unit.
true
Specifies the selection configuration of the axis.
startAngle
number
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.
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.
'category'
visible
boolean
Determines whether the Chart displays the category axis. The category axis is visible by default.
true
Specifies the week start day when the baseUnit is set to "weeks".
'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.
An object containing the updated input fields.