score:17

Accepted answer

Try this:

 $(function () {

var seriesData = [["apple",29.9], ["orange",71.5], ["mango",106.4]];     
$('#container').highcharts({
    chart: {
    },
    xAxis: {
        tickInterval: 1,
        labels: {
            enabled: true,
            formatter: function() { return seriesData[this.value][0];},
        }
    },

    series: [{
        data: seriesData     
     }]
  });
});

SEE DEMO

score:3

No need to do it manually the better solution is just pass type: 'category' in xAxis block. Look below snippet

xAxis: {
        type: 'category',
        labels: {
          rotation: -45,
          style: {
                  fontSize: '13px',
                  fontFamily: 'Verdana, sans-serif'
               },
          }
     }

score:5

You can use catgories in xAxis

xAxis: {
    categories: ["apple", "orange", "mango"],
}

I've updated your fiddle: http://jsfiddle.net/Lq6me/1/

If you don't want to use categories you can go for

labels: {
    formatter: function() {}
}

Related Query

More Query from same tag