Reputation:
I have this HighCharts chart that has more than 50 values on the x-asis. That's way to many, and I'd like to only show a value every x-number of steps. Any ideas how this can be done?
Upvotes: 5
Views: 5063
Reputation: 700
xAxis: { categories: myArray, tickInterval: 5 }
minTickInterval will only prevent showing smaller units if you zoom too much
Upvotes: 1
Reputation: 2339
Change following bit of code by adding minTickInterval
xAxis: {
categories: myArray,
minTickInterval: 5
},
Upvotes: 12