anychart.onDocumentReady(function () {
var chart = anychart.line();
var series = chart.line([
{x: 'Point 1', value: 20},
{x: 'Point 2', value: 25},
{x: 'Point 3', value: 12},
{x: 'Point 4', value: 20}
chart.xAxis({orientation: 'left'});
chart.yAxis({orientation: 'bottom'});
chart.title('Set vertical direction for the series');
chart.container('container');