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 ​
| Property | Type | Description | Defined in |
|---|---|---|---|
color? | string | Explicit series color; falls back to the chart's generated palette when omitted. | charts/src/charts/trend.ts:106 |
id | string | Unique identifier for the series, used for color assignment, legend, and data joins. | charts/src/charts/trend.ts:102 |
label | string | ((item) => string) | Series name shown in the legend and tooltips (or a per-item function). | charts/src/charts/trend.ts:110 |
type | TrendSeriesType | Which visualization type to render this series as. | charts/src/charts/trend.ts:104 |
value | number | NumericAccessor<TData> | Accessor for the series' value at each data item, or a constant applied to every item. | charts/src/charts/trend.ts:108 |