score:12

Accepted answer

you can intercept the x-axis label function and change it's output. in my example, i've changed it to render short dates:

http://jsfiddle.net/uaxzp/3/

{ xaxis: 
    labels: {
        formatter: function() {
             return highcharts.dateformat("%b %e", this.value);
        }
    }
}

        

the xaxis.labels.formatter property allows control over this. you also may notice i'm using highcharts.dateformat, which is a utility function for rendering dates. this is not mandatory, but it's a nice built in feature. documentation on the xaxis formatter is here:

http://www.highcharts.com/ref/#xaxis-labels--formatter

score:12

the easiest way to do is using "mintickinterval"

xaxis: {
       mintickinterval: 24 * 3600 * 1000
}

http://api.highcharts.com/highcharts#xaxis.mintickinterval


Related Query

More Query from same tag