<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 line chart
var chart = anychart.line(data);
chart.title("Side Position");
// change the side position of labels on the y-axis
chart.yAxis().labels().position("inside");
// change the side position of labels on the x-axis
chart.xAxis().labels().position("inside");
// set the container id
chart.container("container");
// initiate drawing the chart
chart.draw();
});