New to Kendo UI for Angular? Start a free 30-day trial

SeriesDefaultsComponent

The default options for all series (see example).

Selector

kendo-chart-series-defaults

Inputs

border

Border

The border of the series.

gap

number

The distance between category clusters.

highlight

SeriesHighlight

The default highlight configuration.

labels

SeriesDefaultsLabels

The label configuration of the Chart series. The Chart displays the series labels when the seriesDefaults.labels.visible option is set to true.

notes

SeriesDefaultsNotes

The seriesDefaults notes configuration.

overlay

Overlay

The Chart series overlay options.

spacing

number

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

stack

boolean | string | SeriesStack

A Boolean value which indicates if the series has to be stacked. The stack option is supported when series.type is set to "bar", "column", "line", "area", "verticalLine", "verticalArea", "radarLine", "radarArea", and "radarColumn".

tooltip

SeriesDefaultsTooltip

The configuration options of the Chart series tooltip.

type

SeriesType

The default type of the series.

The supported values are:

  • area
  • bar
  • bubble
  • bullet
  • candlestick
  • column
  • donut
  • funnel
  • line
  • ohlc
  • pie
  • polarArea
  • polarLine
  • polarScatter
  • radarArea
  • radarColumn
  • radarLine
  • rangeArea
  • rangeBar
  • rangeColumn
  • scatter
  • scatterLine
  • verticalArea
  • verticalBullet
  • verticalLine
  • verticalRangeArea
  • waterfall

visual

(e: SeriesVisualArgs) => Element

A function for creating custom visuals for the points. Applicable for the Bar and Column series.

The available argument fields are:

  • rectThe geometry Rect that defines where the visual has to be rendered.
  • optionsThe point options.
  • createVisualA function that can be used to get the default visual.
  • categoryThe point category.
  • dataItemThe point dataItem.
  • valueThe point value.
  • senderThe Chart instance.
  • seriesThe point 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.

item.notifyChanges({ visible: true });

Parameters

changes

any

An object containing the updated input fields.