Skip to content

Documentation / @ripl/charts / TrendChartBarSeriesOptions

Interface: TrendChartBarSeriesOptions<TData> ​

Defined in: charts/src/charts/trend.ts:146

Series options for a bar-type series within a trend chart.

Extends ​

Type Parameters ​

Type Parameter
TData

Properties ​

PropertyTypeDescriptionOverridesInherited fromDefined in
color?stringExplicit series color; falls back to the chart's generated palette when omitted.-TrendChartBaseSeriesOptions.colorcharts/src/charts/trend.ts:106
idstringUnique identifier for the series, used for color assignment, legend, and data joins.-TrendChartBaseSeriesOptions.idcharts/src/charts/trend.ts:102
labelstring | ((item) => string)Series name shown in the legend and tooltips (or a per-item function).-TrendChartBaseSeriesOptions.labelcharts/src/charts/trend.ts:110
type"bar"Discriminant marking this as a bar series.TrendChartBaseSeriesOptions.type-charts/src/charts/trend.ts:148
valuenumber | NumericAccessor<TData>Accessor for the series' value at each data item, or a constant applied to every item.-TrendChartBaseSeriesOptions.valuecharts/src/charts/trend.ts:108