<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
button {
margin: 10px 0 0 10px;
anychart.onDocumentReady(function () {
var chart = anychart.line();
// Set noData settings.
chart.noData({label: {text: 'Chart has no data'}});
chart.title('Set noData settings');
chart.container('container');
chart.draw();
});