Skip to main content

MetricSpec

@elastic/chartsExports


@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:113


data

data: (undefined | MetricDatum)[][]

Source

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


id

id: string

unique Spec identifier

Inherited from

Spec.id

Source

packages/charts/src/specs/index.ts:14


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:112


Generated using typedoc-plugin-markdown and TypeDoc