Skip to main content

RectAnnotation

@elastic/charts • Exports


@elastic/charts / RectAnnotation

Function: RectAnnotation()

RectAnnotation(props, deprecatedLegacyContext?): ReactNode

Parameters​

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

• deprecatedLegacyContext?: any

Deprecated

See React Docs

Returns​

ReactNode

Source​

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


Generated using typedoc-plugin-markdown and TypeDoc