<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
var chart = anychart.line([2, 8, 4, 10]);
var background = chart.background();
background.stroke("#0000BB");
background.corners(20);
background.cornerType(anychart.enums.BackgroundCornersType.ROUND); //set corner's type.
chart.container("container");
chart.draw();
});