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", 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:35


Generated using typedoc-plugin-markdown and TypeDoc