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?
Here's an example jsFiddle.
you should set the xAxis.minTickInterval
xAxis: {
minTickInterval: 24 * 3600 * 1000
}
jsFiddle 1
jsFiddle 2
I highly encourage going through the vast and useful highcharts api reference before posting questions
http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/highcharts/xaxis/type-datetime/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With