Skip to content

Documentation / @ripl/charts / AreaChartSeriesOptions

Interface: AreaChartSeriesOptions<TData>

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

Configuration for an individual area chart series.

Type Parameters

Type Parameter
TData

Properties

PropertyTypeDescriptionDefined in
color?stringExplicit series colour; falls back to the chart's generated palette when omitted.charts/src/charts/area.ts:127
idstringUnique identifier for the series, used for colour assignment, legend, and data joins.charts/src/charts/area.ts:125
labelstringHuman-readable series name shown in the legend and tooltips.charts/src/charts/area.ts:131
lineStyle?LineStyleLine dash style: 'solid' (default), 'dashed', 'dotted', or a custom dash array.charts/src/charts/area.ts:135
lineType?PolylineRendererRenderer used to draw the line/area top edge (e.g. straight or curved); defaults to straight segments.charts/src/charts/area.ts:133
lineWidth?numberWidth in pixels of the series line.charts/src/charts/area.ts:137
markers?booleanShow point markers at each data value. Defaults to true.charts/src/charts/area.ts:141
opacity?numberFill opacity of the area band. Defaults to 0.3.charts/src/charts/area.ts:139
valuenumber | NumericAccessor<TData>Accessor for the series' value at each data item, or a constant applied to every item.charts/src/charts/area.ts:129