Skip to content

Documentation / @ripl/charts / AreaChartSeriesOptions

Interface: AreaChartSeriesOptions<TData> ​

Defined in: charts/src/charts/area.ts:82

Configuration for an individual area chart series.

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/area.ts:86
fillOpacity?numberFill opacity of the area band. Defaults to 0.3.charts/src/charts/area.ts:98
idstringUnique identifier for the series, used for color assignment, legend, and data joins.charts/src/charts/area.ts:84
labelstringHuman-readable series name shown in the legend and tooltips.charts/src/charts/area.ts:90
lineStyle?LineStyleInput<TData>Line dash style: 'solid' (default), 'dashed', 'dotted', a custom dash array, or key-anchored spans each with their own style.charts/src/charts/area.ts:94
lineType?PolylineRendererRenderer used to draw the line/area top edge (e.g. straight or curved); defaults to straight segments.charts/src/charts/area.ts:92
lineWidth?numberWidth in pixels of the series line.charts/src/charts/area.ts:96
markers?booleanShow point markers at each data value. Defaults to true.charts/src/charts/area.ts:100
valuenumber | NumericAccessor<TData>Accessor for the series' value at each data item, or a constant applied to every item.charts/src/charts/area.ts:88
yAxis?stringThe id of the y-axis this series binds to. Defaults to the primary axis. When the chart is stacked, series stack only with other series bound to the same axis.charts/src/charts/area.ts:105