V. chart size and resize. Free container.

by Pavel Savushchyk

HTML

<script src="http://localhost:8080/jrs2p/client/visualize.js?_opt=false"></script>
<p>Visualize.js Highchart size. Height not set.</p>
<div id="reportContainer">Loading..</div>

JavaScript

visualize({
            auth: {
                name: "superuser",
                password: "superuser"
            }
        }, function (v) {
             v.report({
                 resource: "/public/Samples/Reports/01._Geographic_Results_by_Segment_Report",
                 container: "#reportContainer",
                 error: function (err) {
                     alert(err.message);
                 }
             });
        });