Skip to main content

AreaSeries Spec

Defines a area series in the chart.

Overview

Compatible Specs

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

Global Specs

Specs

Overrides

  • seriesType -> SeriesType.Area

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

areaSeriesStyle

  • Type: areaSeriesStyle?: RecursivePartial<AreaSeriesStyle>

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