Skip to main content

MetricSpec

@elastic/charts • Exports


@elastic/charts / MetricSpec

Interface: MetricSpec

Contents​

Extends​

Properties​

chartType​

chartType: "metric"

Chart type define the type of chart that use this spec

Overrides​

Spec.chartType

Source​

packages/charts/src/chart_types/metric/specs/index.ts:217


data​

data: (undefined | MetricDatum)[][]

Source​

packages/charts/src/chart_types/metric/specs/index.ts:218


id​

id: string

unique Spec identifier

Inherited from​

Spec.id

Source​

packages/charts/src/specs/spec_type.ts:29


specType​

specType: "series"

The type of spec, can be series, axis, annotation, settings etc

Overrides​

Spec.specType

Source​

packages/charts/src/chart_types/metric/specs/index.ts:216


Generated using typedoc-plugin-markdown and TypeDoc