Skip to content

Documentation / @ripl/charts / TrendChartAreaSeriesOptions

Interface: TrendChartAreaSeriesOptions<TData> ​

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

Series options for an area-type series within a trend chart.

Extends ​

Type Parameters ​

Type Parameter
TData

Properties ​

PropertyTypeDescriptionOverridesInherited fromDefined in
color?stringExplicit series color; falls back to the chart's generated palette when omitted.-TrendChartBaseSeriesOptions.colorcharts/src/charts/trend.ts:106
fillOpacity?numberFill opacity of the area band. Defaults to 0.3.--charts/src/charts/trend.ts:140
idstringUnique identifier for the series, used for color assignment, legend, and data joins.-TrendChartBaseSeriesOptions.idcharts/src/charts/trend.ts:102
labelstring | ((item) => string)Series name shown in the legend and tooltips (or a per-item function).-TrendChartBaseSeriesOptions.labelcharts/src/charts/trend.ts:110
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/trend.ts:138
lineType?PolylineRendererRenderer used to draw the area top edge (e.g. straight or curved); defaults to straight segments.--charts/src/charts/trend.ts:134
lineWidth?numberWidth in pixels of the series line.--charts/src/charts/trend.ts:136
markers?booleanShow point markers at each data value. Defaults to true.--charts/src/charts/trend.ts:142
type"area"Discriminant marking this as an area series.TrendChartBaseSeriesOptions.type-charts/src/charts/trend.ts:132
valuenumber | NumericAccessor<TData>Accessor for the series' value at each data item, or a constant applied to every item.-TrendChartBaseSeriesOptions.valuecharts/src/charts/trend.ts:108