Skip to main content

LineSeriesSpec

@elastic/chartsExports


@elastic/charts / LineSeriesSpec

Type alias: LineSeriesSpec<D>

LineSeriesSpec<D>: BasicSeriesSpec<D, "line"> & HistogramConfig & Object

This spec describe the dataset configuration used to display a line series.

Type declaration

curve?

curve?: CurveType

fit?

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

Fit config to fill null values in dataset

lineSeriesStyle?

lineSeriesStyle?: RecursivePartial<LineSeriesStyle>

pointStyleAccessor?

pointStyleAccessor?: PointStyleAccessor

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

seriesType

seriesType: typeof SeriesType.Line

Default Value

line (SeriesType:type) | SeriesType.Line

Type parameters

D extends BaseDatum = Datum

Source

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


Generated using typedoc-plugin-markdown and TypeDoc