SeriesDefaultsComponent
The default options for all series (see example).
Selector
kendo-chart-series-defaults
Inputs
border
The border of the series.
gap
number
The distance between category clusters.
highlight
The default highlight configuration.
labels
The label configuration of the Chart series.
The Chart displays the series labels when the seriesDefaults.labels.visible
option is set to true
.
notes
The seriesDefaults
notes configuration.
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
The configuration options of the Chart series tooltip.
type
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:
rect
—The geometryRect
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 pointdataItem
.value
—The point value.sender
—The Chart instance.series
—The 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.