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

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

Definition

Package:@progress/kendo-angular-charts

Selector:kendo-chart-series-defaults

Syntax:

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>

Inputs

Specifies the border configuration of the series.

Specifies the focus highlight configuration of the series.

gap

number

Specifies the distance between category clusters.

Default:

1.5

Specifies the highlight configuration of the series.

Specifies the labels configuration of the series.

Specifies the notes configuration of the series.

Specifies the overlay configuration of the series.

spacing

number

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".

Default:

0.4

stack

string | boolean | SeriesStack

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".

Default:

false

Specifies the tooltip configuration of the series.

Specifies the type of the series.

Specifies a function that returns a visual element for the series.

Parameters:eSeriesVisualArgsReturns:

Element

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.