JSFiddle - React, Tailwind, and code Playground
by Pavel Savushchyk
HTML
<div id="container"></div><script type='text/javascript' src="http://localhost:8080/jrs2/client/visualize.js?_opt=false&logEnabled=false"></script>
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);