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

SeriesDefaultsLabelsToComponent

Represents the to label configuration of the Chart series.

Selector

kendo-chart-series-defaults-labels-to

Inputs

NameTypeDefaultDescription

background

string

Specifies the background color of the to labels.

border

Border

Specifies the border configuration of the to labels.

color

string

Specifies the text color of the to labels.

content

(e: SeriesLabelsContentArgs) => string

Specifies a function that returns the content of the to labels.

font

string

'12px sans-serif"'

Specifies the font style of the to labels.

format

string

'{0}'

Specifies the format of the to labels. Uses the format method of IntlService.

margin

number | Margin

0

Specifies the margin of the to labels. A numeric value sets all margins.

padding

number | Padding

0

Specifies the padding of the to labels. A numeric value sets all paddings.

visible

boolean

false

Determines whether the Chart displays the to labels of the series.

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