score:14

Accepted answer

This might help:

xAxis: {
    min: 0.5, max: 5.5
...

where max = number of data point minus 1.5

score:0

With option "tickmarkplacement" set to "on", the xAxis "startontick" option might help you:

xAxis: {
    startOnTick: false,
    tickmarkplacement:"on",
    ...

see this jsfiddle, forked from the Highcharts API documentation

score:1

The best way to remove paddings is to add pointPlacement: 'on'

plotOptions: {
    areaspline: {           
        pointPlacement: 'on'
    }       
}

score:8

You should use minPadding/maxPadding parameters but it doens't work with categories. So I suggest to remove categoreis, use min value and tickInterval

http://jsfiddle.net/7JAcN/3/ http://api.highcharts.com/highcharts#xAxis.minPadding

xAxis: {
        allowDecimals:false,
        minPadding:0,
        maxPadding:0,
        /*categories: [
            'Thu 2/14',
            'Fri 2/15',
            'Sat 2/16',
            'Sun 2/17',
            'Mon 2/18',
            'Tue 2/19',
            'Wed 2/20'
        ],*/
        labels: {
            staggerLines: 2
        },
        tickmarkPlacement: 'on',
    },

Related Query

More Query from same tag