SeriesDefaults

The configuration options of the series.

border? Border

The border of the series.

gap? number

The distance between category clusters.

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
  • waterfall
  • 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:

  • rect—The geometry Rect that defines where the visual has to be rendered.
  • options—The point options.
  • createVisual—A function that can be used to get the default visual.
  • category—The point category.
  • dataItem—The point dataItem.
  • value—The point value.
  • sender—The Chart instance.
  • series—The point series.