How to embed a dashbaord with visualize.js?

0

Using visualize.js, how to specify the url of a dashbaord to embed? I only see I can embed report urls. I have the AWS version.

 

 

 

mc.bechara's picture
Joined: Jul 7 2014 - 4:39am
Last seen: 3 years 10 months ago

1 Answer:

0

VIsualize.js for dashboards is only supported in version 6.0.1 of Jaspersoft for AWS to know which version you are runnin click in the "About JasperReports Server" link in the footer (left side) of the JRS UI.

The information on using Visualize.js with dashboards is in the JasperServer Visualize.js Guide. The API  is very similar to the reports one, something like:

var dashboard = v.dashboard({
    resource: "/public/test_dashboard",
    container: "#container",
    success: function() { console.log("dashboard rendered"); },
    error: function(e) { alert(e); }
});

marianol's picture
4427
Joined: Sep 13 2011 - 8:04am
Last seen: 9 months 2 weeks ago
Feedback