Guest Basundhara Ghosal

Reset Chart?

Recommended Posts

Hello,

 

I have a question: after I have created a chart, how can I reset it to default values (e.g. display a blank Flash object)? Currently I simply pass an empty data set, but I don't like this workaround. Do you have a javascript method like resetChart()?

Thanks,

 

Paul

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi Paul,

Welcome to FusionCharts forum. :)

I am afraid, as of now FusionCharts does not support resetChart() JavaScript method.

In case you wish to reset the data of the rendered chart you need to pass a new XML codes to the chart with empty <dataset>/<set> element, as you have already mentioned.

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