V. Chart in report with table
by Pavel Savushchyk
HTML
<script type='text/javascript' src="http://localhost:8080/jrs1/client/visualize.js?_opt=false"></script>
<p>Visualize.js Chart in report with table</p>
<div id="reportContainer">Loading..</div>
JavaScript
visualize({
auth: {
name: "superuser",
password: "superuser"
}
}, function (v) {
v.report({
resource: "/public/viz/InputControl/AllAccounts",
container: "#reportContainer",
error: function (err) {
alert(err.message);
}
});
});