Skip to content

Documentation / @ripl/charts / TrendChartLineSeriesOptions

Interface: TrendChartLineSeriesOptions<TData>

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

Series options for line-type series within a trend chart.

Extends

Type Parameters

Type Parameter
TData

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
color?stringOptional colour override for the series (otherwise a palette colour is generated).-BaseTrendChartSeriesOptions.colorcharts/src/charts/trend.ts:107
idstringUnique identifier for the series.-BaseTrendChartSeriesOptions.idcharts/src/charts/trend.ts:103
labelstring | ((item) => string)Display label for the series, or an accessor deriving a per-item label.-BaseTrendChartSeriesOptions.labelcharts/src/charts/trend.ts:111
lineType?PolylineRendererRenderer controlling the line's shape (e.g. straight or curved).--charts/src/charts/trend.ts:133
type"line"Discriminant marking this as a line series.BaseTrendChartSeriesOptions.type-charts/src/charts/trend.ts:131
valueNumericAccessor<TData>Accessor for each item's numeric value.-BaseTrendChartSeriesOptions.valuecharts/src/charts/trend.ts:109