0

enter image description here I use string for x axis categories. and I want remove the margins of the first category and last category label to make them align to left/ right. is that possible?

jjzjx118_2
  • 419
  • 7
  • 23

1 Answers1

0

Set pointPlacement property to 'on':

series: [{
  ...,
  pointPlacement: 'on'
}]

Live demo: http://jsfiddle.net/BlackLabel/6m4e8x0y/4796/

API Reference: https://api.highcharts.com/highcharts/series.line.pointPlacement

ppotaczek
  • 36,341
  • 2
  • 14
  • 24