Tuesday, 17 September 2013

Highstock - insert HTML link inside flag tooltip

Highstock - insert HTML link inside flag tooltip

I create a flag data point in the following manner
eventData = []
event = {
x : Date.UTC(2011, 3, 25),
title : 'A',
text : "<a href='http://google.com'>Google</a>"
}
series.push({
type:"flags",
data:eventData
});
Now I get the text "google" but I can't click on it. What's the best way
to achieve this?
Also, if this is possible (I'm pretty sure it's possible, because I swear
I've seen it before!) is there also a way to open the link in a new tab
window?

No comments:

Post a Comment