Say I have series describing how many tasks each employee has done in a week, how can I get the tooltip to display the task names when I hover over an employee in a particular week ? (Time in weeks on the x axis, groups of columns for employees for each week, n tasks up the y axis).
I can see that the formatter function has access to the x and y value, but how can I look up other values ? Perhaps I should put my data in another JS array and index into it with x, y. Any ideas welcome !
Thanks,
Guy.
- Code: Select all
tooltip: {
formatter: function() {
return ''+
this.y +' tasks(s) in week '+ this.x;
}
},
