SeriesSpec
@elastic/charts • Exports
@elastic/charts / SeriesSpec
Interface: SeriesSpec<D>
Contents
Extends
Type parameters
Properties
chartType
chartType:
"xy_axis"
Chart type define the type of chart that use this spec
Overrides
Source
packages/charts/src/chart_types/xy_chart/utils/specs.ts:404
color?
color?:
SeriesColorAccessor
Set colors for specific series
Source
packages/charts/src/chart_types/xy_chart/utils/specs.ts:425
data
data:
D[]
An array of data
Source
packages/charts/src/chart_types/xy_chart/utils/specs.ts:421
displayValueSettings?
displayValueSettings?:
DisplayValueSpec
Source
packages/charts/src/chart_types/xy_chart/utils/specs.ts:431
filterSeriesInTooltip?
filterSeriesInTooltip?:
FilterPredicate
Hide series in tooltip
Source
packages/charts/src/chart_types/xy_chart/utils/specs.ts:447
groupId
groupId:
string
The ID of the spec group
Default Value
{@link DEFAULT_GLOBAL_ID}
Source
packages/charts/src/chart_types/xy_chart/utils/specs.ts:413
hideInLegend?
hideInLegend?:
boolean
If the series should appear in the legend
Default Value
false