Documentation / @ripl/charts / BarChartSeriesOptions
Interface: BarChartSeriesOptions<TData> ​
Defined in: charts/src/charts/bar.ts:86
Configuration for an individual bar chart series.
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/bar.ts:90 |
id | string | Unique identifier for the series, used for color assignment, legend, and data joins. | charts/src/charts/bar.ts:88 |
label | string | Human-readable series name shown in the legend and tooltips. | charts/src/charts/bar.ts:94 |
value | number | NumericAccessor<TData> | Accessor for the series' value at each data item, or a constant applied to every item. | charts/src/charts/bar.ts:92 |
yAxis? | string | The id of the y-axis this series binds to. Defaults to the primary axis. Takes effect for vertical grouped bars; stacked/percent modes and horizontal orientation always render against the primary axis. | charts/src/charts/bar.ts:100 |