API / Series/Bar-Y / BarYSeries

Defined in: src/types/chart/bar-y.ts:28

Extends

Type Parameters

Type Parameter Default type
T MeaningfulAny

Properties

Property Type Description
color? string The main color of the series (hex, rgba)
cursor? string You can set the cursor to "pointer" if you have click events attached to the series, to signal to the user that the points and lines can be clicked.
data BarYSeriesData<T>[] -
dataLabels? object & object Options for the series data labels, appearing next to each data point.
grouping? boolean Whether to group non-stacked columns or to let them render independent of each other. When false columns will be laid out individually and overlap each other. Default true
legend? ChartLegend & object Individual series legend options. Has higher priority than legend options in widget data
name string The name of the series (used in legend, tooltip etc)
stackId? string This option allows grouping series in a stacked chart
stacking? "percent" | "normal" Whether to stack the values of each series on top of each other. Possible values are undefined to disable, "normal" to stack by value or "percent" Default undefined
type "bar-y" -
visible? boolean Initial visibility of the series