Welcome to the Highcharts JS (highcharts) Options Reference

These pages outline the chart configuration options, and the methods and properties of Highcharts objects.

Feel free to search this API through the search bar or the navigation tree in the sidebar.

xAxis.title.textAlign

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