Jump to content

Reusing Report instance in Visualize.js?

Sakura Hana

Recommended Posts

I would like to lean about visualize.js a bit more deeper.
I just got one thing to ask for more comprehensive.
Can I reuse report instance that already created?

For example:

visualize(    {        auth:{            name: "superuser",            password: "superuser"        }    },    function(v){        var report = v.report({            resource: "old uri",            container: "old container",            error: function(err){                alert(err.message);            }        });        $("#select_dropdownList").change(function(){            report.resource = "new uri....";            report.container = "new container id";            report.run();        });    });[/code]

Is it possible to do that?


Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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

  • Create New...