Skip to content

Documentation / @ripl/charts / TrendChartBarSeriesOptions

Interface: TrendChartBarSeriesOptions<TData>

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

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

Extends

Type Parameters

Type Parameter
TData

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
color?stringOptional colour override for the series (otherwise a palette colour is generated).-BaseTrendChartSeriesOptions.colorcharts/src/charts/trend.ts:107
idstringUnique identifier for the series.-BaseTrendChartSeriesOptions.idcharts/src/charts/trend.ts:103
labelstring | ((item) => string)Display label for the series, or an accessor deriving a per-item label.-BaseTrendChartSeriesOptions.labelcharts/src/charts/trend.ts:111
type"bar"Discriminant marking this as a bar series.BaseTrendChartSeriesOptions.type-charts/src/charts/trend.ts:117
valueNumericAccessor<TData>Accessor for each item's numeric value.-BaseTrendChartSeriesOptions.valuecharts/src/charts/trend.ts:109