Interface: AlignObject

Highcharts. AlignObject

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

成员

align :Highcharts.AlignValue|undefined

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

Type:
默认值:
  • 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
默认值:
  • false

verticalAlign :Highcharts.VerticalAlignValue|undefined

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

Type:
默认值:
  • top

x :number|undefined

Horizontal pixel offset from alignment.

Type:
  • number | undefined
默认值:
  • 0

y :number|undefined

Vertical pixel offset from alignment.

Type:
  • number | undefined
默认值:
  • 0