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