I'd like to make it so that only dates, not times, are displayed as labels on my Highcharts chart. How can I do that?
9
votes
Please post the relevant parts of your code & markup inline in your question.
– Mat
Could you describe your problem inside the question, please? I took some time loading the image and figuring out what the difference was 😊
– user1675187
sorry, i'm not good in english.here, how to remove the labels in red. i.imgur.com/NQhBm.png
– Cople
2 Answers
17
votes
you should set the xAxis.minTickInterval
xAxis: {
minTickInterval: 24 * 3600 * 1000
}
I highly encourage going through the vast and useful highcharts api reference before posting questions