Skip to main content

RectAnnotation

@elastic/charts • Exports


@elastic/charts / RectAnnotation

Function: RectAnnotation()

RectAnnotation(props, deprecatedLegacyContext?): ReactNode

Parameters​

• props: SFProps<RectAnnotationSpec, "chartType" | "specType", "zIndex" | "groupId" | "annotationType" | "outside", SFOptionalKeys<RectAnnotationSpec, "chartType" | "specType", "zIndex" | "groupId" | "annotationType" | "outside">, SFRequiredKeys<RectAnnotationSpec, "chartType" | "specType", "zIndex" | "groupId" | "annotationType" | "outside", SFOptionalKeys<RectAnnotationSpec, "chartType" | "specType", "zIndex" | "groupId" | "annotationType" | "outside">>>

• deprecatedLegacyContext?: any

Deprecated

See React Docs

Returns​

ReactNode

Source​

node_modules/@types/react/index.d.ts:1128


Generated using typedoc-plugin-markdown and TypeDoc