Jump to content
Software FX Community

javascript links


User (Legacy)

Recommended Posts

I am trying to set a javascript link for each series in my chart, and

I am doing the following:

chart1.Series.Item(0).Link.URL =

"javascript:window.open('http://www.yahoo.com')"

chart1.Series.Item(0).Link.Target = "_blank"

The new window opens up, but another window also opens with

"javascript:window.open('http://www.yahoo.com')" in the url (and it

says "[object]" on the page)....how do I prevent this window from

popping up (I also tried not setting the Target property, but then the

yahoo window opens up but the main page with the chart dissappears and

"[object]" shows up instead).

How do I prevent this from happening?

Thanks,

Tejash

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...