marciomn Report post Posted January 19, 2009 In DragNode, how can I switch "Enable drag"/"Enable link" by JavaScript functions? thanks Share this post Link to post Share on other sites
Rahul Kumar Report post Posted January 20, 2009 Hi, I am afraid, Enable drag/Enable link is not exposed to JavaScript. Share this post Link to post Share on other sites
monoblaine Report post Posted June 22, 2010 Rahul Kumar (1/20/2009)Hi, I am afraid, Enable drag/Enable link is not exposed to JavaScript. why is that? Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted June 22, 2010 Hi, Welcome to FusionCharts forum. In case you wish to Enable drag/Enable link it can only be done through XML codes and not using JavaScript. Share this post Link to post Share on other sites
monoblaine Report post Posted June 25, 2010 (edited) ok, then i could just take the whole xml through the getXML method of the api, convert the whole xml to json, alter the enableLink attribute of the chart element, and convert the json back to xml and use the setDataXML method. hmm... it could have been far better if you guys have implemented a setChartAttribute method, just like the getChartAttribute method in api. Edited June 25, 2010 by Guest Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted June 28, 2010 Hi, Please refer to the link below for the same :- Ref.- http://www.shamasis.net/2010/05/dynamically-update-fusioncharts-xml-attributes/ Hope this helps. Share this post Link to post Share on other sites
monoblaine Report post Posted June 28, 2010 thanks! although it does not reflect the same behavior of right clicking and selecting the mode from menu, it exactly performs what i have previously said in a much efficient way. Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted June 29, 2010 Hi, You are welcome. We are glad to help you. We have already included a similar type of API in our forthcoming version that will be getting released soon. Happy FusionCharting. Share this post Link to post Share on other sites