Skip to main content

AreaSeriesSpec

@elastic/chartsExports


@elastic/charts / AreaSeriesSpec

Type alias: AreaSeriesSpec<D>

AreaSeriesSpec<D>: BasicSeriesSpec<D, "area"> & HistogramConfig & Postfixes & Object

This spec describe the dataset configuration used to display an area series.

Type declaration

areaSeriesStyle?

areaSeriesStyle?: RecursivePartial<AreaSeriesStyle>

curve?

curve?: CurveType

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

fit?

fit?: Exclude<Fit, "explicit"> | FitConfig

Fit config to fill null values in dataset

pointStyleAccessor?

pointStyleAccessor?: PointStyleAccessor

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

seriesType

seriesType: typeof SeriesType.Area

Default Value

area (SeriesType:type) | SeriesType.Area

stackMode?

stackMode?: StackMode

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

Type parameters

D extends BaseDatum = Datum

Source

packages/charts/src/chart_types/xy_chart/utils/specs.ts:666


Generated using typedoc-plugin-markdown and TypeDoc