Accepted answer

what you need is tickinterval in xaxis:

xaxis: {
    type: 'datetime',
    tickinterval: 1

updated your jsfiddle here:


datetime axes are based on milliseconds, so an interval of one hour is: 3600 * 1000.

the solution above does not work in charts of type: area.

so if your xaxis is in days you could use:

chart: {
    type: 'area'
xaxis: {
    type: 'datetime',
    tickinterval: 24 * 3600 * 1000

Related Query

More Query from same tag