I’m using this code for a highstock, but I want use it for a Pie, can I do it? cause is not working :/
url = ...
$.get(url, function (data) {
hs.htmlExpand(null, {
pageOrigin: {
x: pageX,
y: pageY
},
headingText: title,
maincontentText: data
});
});
I tried adding that code directly in the click function, and with this:
.AddJavascripFunction("test",
"hs.htmlExpand(null, {" +
"pageOrigin: {"+
"},"+
"headingText: '...: '," +
"maincontentText: 'msje'"+
"});"
)
But refresh the page (I dont know why) and dont show me the window. Any idea?
It should works, take look at example:
http://jsfiddle.net/tkEwD/2/