Dojo + Highcharts. The X Axis is not alligned when setCategories() is executed
问题 I am using Dojo and Highcharts, the X axis is not alligned when I use: ....xAxis[0].setCategories(...) http://jsfiddle.net/xKfU2/6/ In the fiddle, if you comment the first setCategories and you discomment the second one, the X axis is allign, but the chart no. And if you discomment the both of them, you have the both problems. How can I solve this problem? Thanks in advance. 回答1: I'm not sure why the problem is occurring, but you can fix it by forcing the x-axis offset like this: xAxis : {