HorizontalAlignment
@elastic/charts • Exports
@elastic/charts / HorizontalAlignment
Variable: HorizontalAlignment
constHorizontalAlignment:Readonly<Object>
Type declaration
Center
Center:
"center"
Far
Far:
"far"
Aligns to far side of axis depending on position
Examples:
- Left Axis,
Farwill push the label to theLeft, far from the axis - Right Axis,
Farwill push the axis labels to theRight - Top/Bottom Axes,
Farwill default toCenter
Left
Left:
"left"=Position.Left
Near
Near:
"near"
Aligns to near side of axis depending on position
Examples:
- Left Axis,
Nearwill push the label to theRight, near the axis - Right Axis,
Nearwill push the axis labels to theLeft - Top/Bottom Axes,
Nearwill default toCenter
Right
Right:
"right"=Position.Right
Source
packages/charts/src/utils/common.tsx:65
Generated using typedoc-plugin-markdown and TypeDoc