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

Represents the to labels configuration of the Chart series.

Definition

Package:@progress/kendo-angular-charts

Selector:kendo-chart-series-item-labels-to

Inputs

Specifies the background color of the to labels.

Specifies the border configuration of the to labels.

color

string

Specifies the text color of the to labels.

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

Parameters:eSeriesLabelsContentArgsReturns:

string

font

string

Specifies the font style of the to labels.

Default:

'12px sans-serif'

format

string

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

Default:

'{0}'

margin

number | Margin

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

Default:

5

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

Default:

0

position

"center" | "insideBase" | "insideEnd" | "outsideEnd"

Specifies the position of the to labels.

visible

boolean

Determines whether the Chart displays the series to labels.

Default:

false

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.