Skip to content

Documentation / @ripl/charts / LineStyleInput

Type Alias: LineStyleInput<TData> ​

LineStyleInput<TData> = LineStyle | LineStyleSegment<TData>[] | LineStyleSegments<TData>

Defined in: charts/src/core/options.ts:801

How a series line is stroked: one style for the whole line, or key-anchored spans each with their own style. A bare array of segments defaults everything they do not cover to 'solid'; the object form names that fallback explicitly.

Type Parameters ​

Type ParameterDescription
TDataThe type of each data item in the dataset.