score:1

Accepted answer

insert the tooltip bit as shown below:

xaxis:{
    categories:['a','b','c','d','e'],
    linecolor:'#999',
    linewidth:1,
    tickcolor:'#666',
    ticklength:3,
    title:{
        text:'x axis title',
        style:{
            color:'#333'
        }
    }
},
--------------------------------------
tooltip: {
    formatter: function () {
        var s = '<b>' + this.x + '</b>';
        $.each(this.points, function () {
            s += '<br/>' + this.series.name + ': ' +
                this.y + '%';
        });
        return s;
    },
    shared: true
},
----------------------------------------
yaxis:{
    linecolor:'#999',
    linewidth:1,
    tickcolor:'#666',
    tickwidth:1,
    ticklength:3,
    gridlinecolor:'#ddd',
    title:{
        text:'y axis title',
        rotation:0,
        margin:50,
        style:{
            color:'#333'
        }
    }
},  

Related Query

More Query from same tag