Sign in to follow this  
Followers 0
morgenweck

clear chart data

3 posts in this topic

I'm using the jQuery plug in and have no problems with

 

   $("#chart-container").insertFusionCharts({
            type: 'heatmap',
            renderAt: 'chart-container',
            // width: '400',
            //  height: '300',
            dataFormat: 'json',
            id: "BoxId"

        });

and

 

  $("#chart-container").updateFusionCharts({
            dataFormat: "json",
            dataSource: { 

etc
                      

 

but my question is how can I clear the chart?  $("#chart-container").clearChart();  does not seem to work

Edited by morgenweck

Share this post


Link to post
Share on other sites

Real-time charts expose a JavaScript API that enables you to clear charts at the client-side. To do this, you need to:

  • Get a reference to the chart

  • Call the clearChart() method

Read my essay

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
Sign in to follow this  
Followers 0