textAlign property

String? textAlign
getter/setter pair

Alignment of the text, can be "left", "right" or "center". Default alignment depends on the title.align:

Horizontal axes:

  • for align = "low", textAlign is set to left
  • for align = "middle", textAlign is set to center
  • for align = "high", textAlign is set to right

Vertical axes:

  • for align = "low" and opposite = true, textAlign is set to right
  • for align = "low" and opposite = false, textAlign is set to left
  • for align = "middle", textAlign is set to center
  • for align = "high" and opposite = true textAlign is set to left
  • for align = "high" and opposite = false textAlign is set to right

API Docs: https://api.highcharts.com/highcharts/chart.parallelAxes.title.textAlign

Implementation

String? textAlign;