<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
// create data
var data = [
["January", 10000],
["February", 12000],
["March", 18000],
["April", 11000],
["May", 9000]
];
// create a chart
var chart = anychart.area();
// create an area series and set the data
var series = chart.area(data);
// set the chart title
chart.title("Area Chart: Basic Sample");
// set the titles of the axes
chart.xAxis().title("Month");
chart.yAxis().title("Sales, $");
// set the container id
chart.container("container");
// initiate drawing the chart
chart.draw();
});