Skip to main content

LineAnnotation

@elastic/charts • Exports


@elastic/charts / LineAnnotation

Function: LineAnnotation()

LineAnnotation<D>(props): null

Adds bar series to chart specs

Type parameters​

• D = any

Parameters​

• props: SFProps<LineAnnotationSpec<D>, "chartType" | "specType", "zIndex" | "groupId" | "annotationType" | "hideTooltips" | "hideLines", SFOptionalKeys<LineAnnotationSpec, "chartType" | "specType", "zIndex" | "groupId" | "annotationType" | "hideTooltips" | "hideLines">, SFRequiredKeys<LineAnnotationSpec, "chartType" | "specType", "zIndex" | "groupId" | "annotationType" | "hideTooltips" | "hideLines", SFOptionalKeys<LineAnnotationSpec, "chartType" | "specType", "zIndex" | "groupId" | "annotationType" | "hideTooltips" | "hideLines">>>

Returns​

null

Source​

packages/charts/src/chart_types/xy_chart/specs/line_annotation.ts:37


Generated using typedoc-plugin-markdown and TypeDoc