Skip to content

Documentation / @ripl/charts / LineStyleSegments

Interface: LineStyleSegments<TData> ​

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

A segmented line style: the style of each span, plus the style used everywhere else.

Type Parameters ​

Type Parameter
TData

Properties ​

PropertyTypeDescriptionDefined in
default?LineStyleStyle applied wherever no segment applies. Defaults to 'solid'.charts/src/core/options.ts:789
segmentsLineStyleSegment<TData>[]Spans of the line overriding the default, applied in order so a later span wins where two overlap.charts/src/core/options.ts:791