Interface: AlignObject

Highcharts. AlignObject

Options to align the element relative to the chart or another box.

Members

align :Highcharts.AlignType|undefined

Horizontal alignment. Can be one of left, center and right.

Type:
Default Value:
  • left

alignByTranslate :boolean|undefined

Use the transform attribute with translateX and translateY custom attributes to align this elements rather than x and y attributes.

Type:
  • boolean | undefined
Default Value:
  • false

verticalAlign :Highcharts.VerticalAlignType|undefined

Vertical alignment. Can be one of top, middle and bottom.

Type:
Default Value:
  • top

x :number|undefined

Horizontal pixel offset from alignment.

Type:
  • number | undefined
Default Value:
  • 0

y :number|undefined

Vertical pixel offset from alignment.

Type:
  • number | undefined
Default Value:
  • 0