V. check chart 100% height

Test plugins

by sprilukin

HTML

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type='text/javascript' src="http://192.168.1.236:8080/jsprovis/client/visualize.js?logLevel=debug&userLocale=en"></script>

<div id="container">Loading Visualize...</div>

CSS

html, body, #container {
    height: 100%;
}

JavaScript

visualize({
        auth: {
            name: "superuser",
            password: "superuser"
        }
    }, function (v) {
        
        $("#container").text("Visualize loaded. Loading report..")
        
        //render report from provided resource
        v("#container").report({
            resource: "/public/Samples/Reports/01._Geographic_Results_by_Segment_Report",
            error: handleError
        });

        //show error
        function handleError(err){
            alert(err.message);
        }
    
    });