Sign in to follow this  
axismile

problems about DragNode chart

Recommended Posts

Hello ! 

i just draw a network graph using the dragnode chart , there is a function that i must send an ajax request when the mouse is over a drag node, and after this, some content will be displayed, is there a way to solve this, any suggestions will be appreciate ! thanks !

Share this post


Link to post
Share on other sites

Hi,

 

It is not possible to call a function when the mouse is hovered over a node in a Drag Node chart. But, you can call a JavaScript function when user clicks on the node. Then, inside the JavaScript function you can have code to send ajax request to the desired page. For information on using JavaScript functions as links, please refer http://docs.fusioncharts.com/powercharts/Contents/DrillDown/JavaScript.html

 

Hope this helps.  :)

Share this post


Link to post
Share on other sites

Hi there,

i have a similar problem.

in a set object i want to pass by link (onclick) the actual X position not the fixed value, how can i get this value?

Share this post


Link to post
Share on other sites

Hi,

 

You can use the "link" attribute of set element and call a JavaScript function. Inside that function, you may use "getXMLData()" or "getJSONData()" to retrieve the updated XML/JSON data.

 

Ref. <set .. link = "javaScript:myfunction();" />

 

function myfunction () {

var newdata=FusionCharts("chartid").getXMLData();

}

 

Hope this helps.

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