anychart.onDocumentReady(function () {
var data = anychart.data.set([
var seriesData_1 = data.mapAs({x: 0, value: 1});
var seriesData_2 = data.mapAs({x: 0, value: 2});
var chart = anychart.column();
var yScale1 = anychart.scales.linear();
var yScale2 = anychart.scales.linear();
var xAxis = chart.xAxis();
var yAxis1 = chart.yAxis(0);
yAxis1.title("Sales, $");
var yAxis2 = chart.yAxis(1);
yAxis2.orientation("right")
yAxis2.title("Number of Items Sold");
var series1 = chart.column(seriesData_1);
var series2 = chart.line(seriesData_2);
series2.name("Number of Items Sold");
chart.title("Axes and Scales");
chart.container("container");