VerticalAlignment
@elastic/charts • Exports
@elastic/charts / VerticalAlignment
Variable: VerticalAlignment
const
VerticalAlignment:Readonly
<Object
>
Type declaration
Bottom
Bottom:
"bottom"
=Position.Bottom
Far
Far:
"far"
Aligns to far side of axis depending on position
Examples:
- Top Axis,
Far
will push the label to theTop
, far from the axis - Bottom Axis,
Far
will push the axis labels to theBottom
- Left/Right Axes,
Far
will default toMiddle
Middle
Middle:
"middle"
Near
Near:
"near"
Aligns to near side of axis depending on position
Examples:
- Top Axis,
Near
will push the label to theRight
, near the axis - Bottom Axis,
Near
will push the axis labels to theLeft
- Left/Right Axes,
Near
will default toMiddle
Top
Top:
"top"
=Position.Top
Source
packages/charts/src/utils/common.tsx:93
Generated using typedoc-plugin-markdown and TypeDoc