Reputation: 1624
I've faced a problem with inclusion of text in popup window which appears in point , this is link to example. i want to place my own text from my array named myText at each point popup. Any suggestions?
link to jsFiddle
Upvotes: 1
Views: 1389
Reputation: 2020
Try this as the formatter function:
tooltip: {
formatter: function() {
return '<b>'+ myText[this.point.x] +'</b>';
}
}
jsFiddle here: http://jsfiddle.net/tGguS/2/
Upvotes: 3