Sign in to follow this  
kamalshah20

Javascript not working in link attribute of chart

Recommended Posts

I have the following for the link attribute in the element 'set' in the xml in my data for a Column3D chart:

 

 

 

link="javascript:window.alert('hello');"

 

 

 

But when I click on the bar corresponding to the set element in which this link is, nothing happens.

 

 

 

I put this to test the JS function integration. I actually had some other code like:

 

 

 

link="javascript:window.WidgetController.drillDownWidgetWithNameAndValue1AndValue2("ElectricityConsumptionQDay001","03/01/2009 00:00:00", "04/01/2009 00:00:00" )"

 

 

 

But this does not work. That is why I put the sanity check with the window alert.

 

 

 

Is there something I'm doing wrong here?

 

 

 

Thanks!

Share this post


Link to post
Share on other sites

Hi,

 
Still you need to set it, this setting is not A BROWSER SPECIFIC, if you are running it LOCALLY, then you MUST have to set it.
 
Please try it once.
Edited by Guest

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this