Sign in to follow this  
maligangadhar

Dragnode Links

Recommended Posts

Hi,

 

Iam using licence verison of fusion charts, how can i call js function on click of any node....(iam using dragnode for populating my org charts.....need t call a js on click of any node)

 

my code as follows:

 

<set allowDrag="0" color="2EFE2E" height="45" id="DB Server1" link="JavaScript:myJS('Hong Kong');" name="DB Server 01" width="130" x="8" y="50"/>

 

<script LANGUAGE="JavaScript">

function myJS(myVar){

window.alert(myVar);

}

</script>

 

think some thing need t change in fusioncharts.js file......

 

Please share some live code.....

Share this post


Link to post
Share on other sites
Guest Angie

Hi.

 

Please try the same using <enableLinks='1'> attribute inside <chart> element of the XML document.

 

Hope this helps.smile.gif

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

 

Could you please send us the XML and html code to look into the issue?

 

Awaiting for your reply.

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