How can I set the alignment for individual axis labels in highcharts? -


i ability set different text alignment first , last labels on x axis. labels in between, labels center aligned.

|______________________________________________________| |          |          |          |          |          | jun 2    jun 3      jun 4      jun 5      jun 6    jun 7 

in example above

  • the first tick (jun 2) left aligned
  • the last tick (jun 7) right aligned
  • all ticks in between center aligned

from can see in documentation limited single align setting applies tick labels.

has found workaround this? missing something?

you can set overflow parameter 'justify'

labels:{     overflow: 'justify' } 

example: http://jsfiddle.net/sbochan/0aq6o5vv/1/


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -