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

CategoryAxisNotesLabelComponent

Represents the label configuration for the category axis notes in the Chart.

Selector

kendo-chart-category-axis-item-notes-label

Inputs

NameTypeDefaultDescription

background

string

Sets the background color of the label.

border

Border

Configures the border of the label.

color

string

Sets the text color of the label.

content

(e: AxisNoteContentArgs) => string

Provides a function that creates the content of the label.

font

string

'12px, sans-serif'

Specifies the font style of the label.

format

string

'{0}'

Specifies the format for displaying the notes label. Uses the format method of IntlService. Contains one placeholder ("{0}") which represents the category value.

position

NoteLabelPosition

"inside"

Specifies the position of the label.

rotation

number

0

Specifies the rotation angle of the label. By default, the label is not rotated.

visible

boolean

true

Determines whether the Chart displays the category notes label. By default, the category notes label is visible.

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