Skip to main content

LineSeries Spec

Defines a line series in the chart.

Overview

Compatible Specs

LineSeries spec can be used multiple times along with any of the following specs:

Global Specs

Specs

Overrides

  • seriesType -> SeriesType.Line

Props

All props can be found via LineSeriesProps type.

BasicSeriesSpec Props

Inherits BasicSeriesSpec props

HistogramConfig Props

Inherits HistogramConfig props

Postfixes Props

Inherits Postfixes props

curve

  • Type: curve?: CurveType

The type of interpolator to be used to interpolate values between points

lineSeriesStyle

  • Type: lineSeriesStyle?: RecursivePartial<LineSeriesStyle>

stackMode

  • Type: stackMode?: StackMode

Stack each series using a specific mode: Percentage, Wiggle, Silhouette. The last two modes are generally used for stream graphs

pointStyleAccessor

  • Type: pointStyleAccessor?: PointStyleAccessor

An optional functional accessor to return custom color or style for point datum

fit

  • Type: fit?: Exclude<Fit, 'explicit'> | FitConfig

Fit config to fill null values in dataset