<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
// create data
var data = [
{x: 2000, value: 1100},
{x: 2001, value: 880},
{x: 2002, value: 1100},
{x: 2003, value: 1500},
{x: 2004, value: 921},
{x: 2005, value: 1000},
{x: 2006, value: 1400}
];
// create a chart
var chart = anychart.vertical();
// create a marker series and set the data
var series = chart.marker(data);
// set the chart title
chart.title("Vertical Marker Chart");
// set the container id
chart.container("container");
// initiate drawing the chart
chart.draw();
});