JSFiddle - React, Tailwind, and code Playground

by Yuriy Bablyukh

HTML

<div id="container"></div><script type='text/javascript' src="http://build-master.jaspersoft.com:7480/jrs-pro-feature-jive-refactoring/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/04._Product_Results_by_Store_Type_Report",
        container: "#container",
        error: handleError
    });
    

},handleError);