How can I force highcharts to show every x-axis label regardless of spacing constraints?
问题 I'd like to show every x-axis label, and you can see it's only showing every other one: http://jsfiddle.net/f48cjf01/2/ The relevant code: xAxis: { categories: _.pluck(_mainData, "number") , labels: { rotation: 290 , step: 1 //show every tick regardless of spacing , align: 'right' } } What do I need to do to show every tick? (I know it may look ugly here considering how little space there is...but I'd like to force it nonetheless) 回答1: One solution is to use a tickPositioner function and