ToolbarPositionModel
12 Sep 20251 minute to read
Interface for a class ToolbarPosition
Properties
draggable boolean
When set to true, allows dragging the zoom toolbar in the chart.
horizontalAlignment Alignment
Specifies the horizontal alignment of the toolbar.
The available options are:
-
Far– Aligns the toolbar to the right side of the chart. -
Center– Centers the toolbar horizontally in the chart. -
Near– Aligns the toolbar to the left side of the chart.
verticalAlignment Position
Specifies the vertical alignment of the toolbar.
The available options are:
-
Top– Positions the toolbar at the top of the chart. -
Middle– Centers the toolbar vertically in the chart. -
Bottom– Positions the toolbar at the bottom of the chart.
x number
Specifies the horizontal offset of the toolbar in the chart.
This value determines how far to move the toolbar horizontally from its default position.
y number
Specifies the vertical offset of the toolbar in the chart.
This value determines how far to move the toolbar vertically from its default position.