Skip to content

Documentation / @ripl/charts / BaseTrendChartSeriesOptions

Interface: BaseTrendChartSeriesOptions<TData>

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

Base configuration shared by all trend chart series types.

Extended by

Type Parameters

Type Parameter
TData

Properties

PropertyTypeDescriptionDefined in
color?stringOptional colour override for the series (otherwise a palette colour is generated).charts/src/charts/trend.ts:107
idstringUnique identifier for the series.charts/src/charts/trend.ts:103
labelstring | ((item) => string)Display label for the series, or an accessor deriving a per-item label.charts/src/charts/trend.ts:111
typeSeriesTypeWhich visualization type to render this series as.charts/src/charts/trend.ts:105
valueNumericAccessor<TData>Accessor for each item's numeric value.charts/src/charts/trend.ts:109