<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
var chart = anychart.waterfall([166, 43, -79, -46, 84, NaN]);
// Get type.
chartType = chart.getType();
chart.title("Get chart type. Chart type is " + chartType);
chart.container("container");
chart.draw();
});