Hal

Drop All Charts On A Page

Recommended Posts


Just thought I would share the syntax for dropping all the charts on a page before you start creating them from scratch.

 

<script type="text/javascript">


    $(document).ready(function () {

            // remove previous instances of fusion charts

            for (chart in FusionCharts.items) {

                FusionCharts(chart).dispose();

            }

    });

</script>

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi 

 

Welcome to FusionCharts Forum!

 

We appreciate your efforts.  :)

 

And thank you for suggesting this.

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