<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
var chart = anychart.line();
var lineSeries = chart.line([1, 1.6, 1.2, 2.1]);
// Gets series state (enabled or disabled).
var state = lineSeries.enabled();
chart.title("Current state of the series is " + state);
chart.container("container");
chart.draw();
});