Rahul Kumar

Switch "Enable drag"/"Enable link" by JavaScript

Recommended Posts

Guest Basundhara Ghosal

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

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 by Guest

Share this post


Link to post
Share on other sites

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. :D

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

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. :D

Happy FusionCharting. :D

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