axismile Report post Posted July 22, 2013 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
Haritha Report post Posted July 22, 2013 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
joaohrm Report post Posted August 21, 2013 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
Haritha Report post Posted August 22, 2013 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
joaohrm Report post Posted August 22, 2013 not what i wanted, but thanks anyway. I solved it using an array of the elements and after that an addeventlistener inside a for. Share this post Link to post Share on other sites
Haritha Report post Posted August 23, 2013 Glad that you could your problem yourself. Happy FusionCharting Share this post Link to post Share on other sites
Fernando Tlatilolpa Report post Posted May 13, 2014 Hi Haritha, I think I've found the right person to hekp about a problem i have with a dragnode network, I put a link but when the graph is shown does not activate this link, may the prefix I use is not correct, I'm using link="n-https://www.google.com.mx" for example, and it is not working. Thanks in advance and regards. Share this post Link to post Share on other sites
Bindhu Report post Posted May 14, 2014 Hi, The link is in the right format. It is working fine for for us. Share this post Link to post Share on other sites