<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],
[50, -25, 30, 28, 83, NaN]
);
// Removes all series.
chart.removeAllSeries();
chart.title('Remove all series from a chart');
chart.container('container');
chart.draw();
});