<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
// create data
var data = [
["John", 10000],
["Jake", 12000],
["Peter", 13000],
["James", 10000],
["Mary", 9000]
];
// create a chart
var chart = anychart.column();
// create a column series and set the data
var series = chart.column(data);
// set the chart title
chart.title("Column Chart: Basic Sample");
// set the titles of the axes
chart.xAxis().title("Manager");
chart.yAxis().title("Sales, $");
// set the container id
chart.container("container");
// initiate drawing the chart
chart.draw();
});