Skip to main content

SeriesNameConfigOptions

@elastic/charts • Exports


@elastic/charts / SeriesNameConfigOptions

Interface: SeriesNameConfigOptions

Contents​

Properties​

delimiter?​

delimiter?: string

Delimiter to join values/names

Default Value​

an hyphen with spaces -

Source​

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


names?​

names?: SeriesNameConfig[]

Array of accessor naming configs to replace series names

Only provided configs will be included (i.e. if you only provide a single mapping for yAccessor, all other series accessor names will be ignored)

The order of configs is the order in which the resulting names will be joined, if no sortIndex is specified.

If no values are found for a giving mapping in a series, the mapping will be ignored.

Source​

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


Generated using typedoc-plugin-markdown and TypeDoc