Skip to main content

LineAnnotationDatum

@elastic/charts • Exports


@elastic/charts / LineAnnotationDatum

Interface: LineAnnotationDatum<D>

The descriptive object of a line annotation

Contents​

Type parameters​

• D = any

Properties​

ariaLabel?​

ariaLabel?: string

Aria label for the annotation

Source​

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


dataValue​

dataValue: D

The value on the x or y axis according to the domainType configured

Source​

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


details?​

details?: string

A textual description of the annotation

Source​

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


header?: string

An header of the annotation. If undefined, than the formatted dataValue will be used

Source​

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


Generated using typedoc-plugin-markdown and TypeDoc