JSFiddle - React, Tailwind, and code Playground
by Yuriy Bablyukh
HTML
<div id="container"></div><script type='text/javascript' src="http://build-master.jaspersoft.com:5580/jrs-pro-feature-security/client/visualize.js?_opt=true&logEnabled=false"></script>
CSS
#container {
height: 800px;
}
JavaScript
function handleError(e) {
alert(e);
console.log(e);
}
visualize({
auth: {
name: "superuser",
password: "superuser"
}
}, function (v) {
var dashboard = v.report({
resource: "/public/Samples/Reports/01._Geographic_Results_by_Segment_Report",
container: "#container",
error: handleError
});
},handleError);