Skip to content

Documentation / @ripl/charts / BarChartSeriesOptions

Interface: BarChartSeriesOptions<TData>

Defined in: charts/src/charts/bar.ts:89

Configuration for an individual bar chart series.

Type Parameters

Type Parameter
TData

Properties

PropertyTypeDescriptionDefined in
color?stringExplicit series colour; falls back to the chart's generated palette when omitted.charts/src/charts/bar.ts:93
idstringUnique identifier for the series, used for colour assignment, legend, and data joins.charts/src/charts/bar.ts:91
labelstringHuman-readable series name shown in the legend and tooltips.charts/src/charts/bar.ts:97
valuenumber | NumericAccessor<TData>Accessor for the series' value at each data item, or a constant applied to every item.charts/src/charts/bar.ts:95