Skip to content

Documentation / @ripl/charts / TrendChartBaseSeriesOptions

Interface: TrendChartBaseSeriesOptions<TData> ​

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

Configuration shared by every trend chart series type.

Extended by ​

Type Parameters ​

Type Parameter
TData

Properties ​

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