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

SeriesDefaultsComponent

Represents the default options for all Chart series (see example).

html
<kendo-chart>
 <kendo-chart-series-defaults type="line">
  <kendo-chart-series-defaults-labels format="c"></kendo-chart-series-defaults-labels>
  <kendo-chart-series-defaults-notes position="above"></kendo-chart-series-defaults-notes>
  <kendo-chart-series-defaults-tooltip [visible]="true"></kendo-chart-series-defaults-tooltip>
 </kendo-chart-series-defaults>
</kendo-chart>

Selector

kendo-chart-series-defaults

Inputs

NameTypeDefaultDescription

border

Border

Specifies the border configuration of the series.

focusHighlight?

FocusHighlight

Specifies the focus highlight configuration of the series.

gap

number

1.5

Specifies the distance between category clusters.

highlight

SeriesHighlight

Specifies the highlight configuration of the series.

labels

SeriesDefaultsLabels

Specifies the labels configuration of the series.

notes

SeriesDefaultsNotes

Specifies the notes configuration of the series.

overlay

Overlay

Specifies the overlay configuration of the series.

spacing

number

0.4

Specifies the space between the Chart series as a proportion of the series width. Use this option when series.type is set to "bar", "column", "candlestick", "ohlc", and "waterfall".

stack

string | boolean | SeriesStack

false

Determines whether the series has to be stacked. Use this option when series.type is set to "bar", "column", "line", "area", "verticalLine", "verticalArea", "radarLine", "radarArea", and "radarColumn".

tooltip

SeriesDefaultsTooltip

Specifies the tooltip configuration of the series.

type

SeriesType

Specifies the type of the series.

visual

(e: SeriesVisualArgs) => Element

Specifies a function that returns a visual element for 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