Skip to main content

BarSeries

@elastic/chartsExports


@elastic/charts / BarSeries

Function: BarSeries()

BarSeries<D>(props): null

Adds bar series to chart specs

Type parameters

D extends BaseDatum = any

Parameters

props: SFProps<BarSeriesSpec<D>, "chartType" | "specType" | "seriesType", "groupId" | "hideInLegend" | "xScaleType" | "yScaleType" | "enableHistogramMode", SFOptionalKeys<BarSeriesSpec, "chartType" | "specType" | "seriesType", "groupId" | "hideInLegend" | "xScaleType" | "yScaleType" | "enableHistogramMode">, SFRequiredKeys<BarSeriesSpec, "chartType" | "specType" | "seriesType", "groupId" | "hideInLegend" | "xScaleType" | "yScaleType" | "enableHistogramMode", SFOptionalKeys<BarSeriesSpec, "chartType" | "specType" | "seriesType", "groupId" | "hideInLegend" | "xScaleType" | "yScaleType" | "enableHistogramMode">>>

Returns

null

Source

packages/charts/src/chart_types/xy_chart/specs/bar_series.ts:37


Generated using typedoc-plugin-markdown and TypeDoc