Skip to main content

LineAnnotation

@elastic/chartsExports


@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" | "hideLinesTooltips", SFOptionalKeys<LineAnnotationSpec, "chartType" | "specType", "zIndex" | "groupId" | "annotationType" | "hideTooltips" | "hideLines" | "hideLinesTooltips">, SFRequiredKeys<LineAnnotationSpec, "chartType" | "specType", "zIndex" | "groupId" | "annotationType" | "hideTooltips" | "hideLines" | "hideLinesTooltips", SFOptionalKeys<LineAnnotationSpec, "chartType" | "specType", "zIndex" | "groupId" | "annotationType" | "hideTooltips" | "hideLines" | "hideLinesTooltips">>>

Returns

null

Source

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


Generated using typedoc-plugin-markdown and TypeDoc