JSFiddle - React, Tailwind, and code Playground
by NesterOne
HTML
<script src="http://build-master.jaspersoft.com:7980/jrs-pro-bugfix/client/visualize.js"></script>
<div id="report1"></div>
CSS
#report1 {
height: 1000px;
}
JavaScript
visualize({
auth: {
name: "superuser",
password: "superuser"
}
},
function (v) {
v("#report1").report({
resource: "/public/Ad_Hoc_View_Report_Crosstab",
error: function (err) {
console.log("Report 1: " + err.message);
}
});
}
);