Skip to content

Documentation / @ripl/charts / TrendChartLineSeriesOptions

Interface: TrendChartLineSeriesOptions<TData> ​

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

Series options for a line-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
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:122
lineType?PolylineRendererRenderer used to draw the line (e.g. straight or curved); defaults to straight segments.--charts/src/charts/trend.ts:118
lineWidth?numberWidth in pixels of the series line.--charts/src/charts/trend.ts:120
markerRadius?numberRadius in pixels of each point marker. Defaults to 3.--charts/src/charts/trend.ts:126
markers?booleanShow point markers along the line. Defaults to true.--charts/src/charts/trend.ts:124
type"line"Discriminant marking this as a line series.TrendChartBaseSeriesOptions.type-charts/src/charts/trend.ts:116
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