Skip to main content

RectAnnotationSpec

@elastic/chartsExports


@elastic/charts / RectAnnotationSpec

Type alias: RectAnnotationSpec

RectAnnotationSpec: BaseAnnotationSpec<typeof AnnotationType.Rectangle, RectAnnotationDatum, RectAnnotationStyle> & Object

Type declaration

outside?

outside?: boolean

Renders annotation outside of chart area within axis gutter

Default Value

false

outsideDimension?

outsideDimension?: number

Dimension, either height or width, of outside annotation

zIndex?

zIndex?: number

z-index of the annotation relative to other elements in the chart

Default Value

-1

Source

packages/charts/src/chart_types/xy_chart/utils/specs.ts:921


Generated using typedoc-plugin-markdown and TypeDoc