anychart.onDocumentReady(function () {
var stage = anychart.graphics.create("container");
var lineChart = anychart.line();
lineChart.line([1, 2, 3, 4]);
lineChart.line([2, 3, 4, 1]);
lineChart.line([3, 4, 1, 2]);
lineChart.line([4, 1, 2, 3]);
lineChart.bounds(0, 0, "50%", "100%");
lineChart.palette(["#827717", "#c77532", "#998675"]);
lineChart.container(stage);
var columnChart = anychart.column();
columnChart.column([1, 2, 3, 4]);
columnChart.column([2, 3, 4, 1]);
columnChart.column([3, 4, 1, 2]);
columnChart.column([4, 1, 2, 3]);
columnChart.bounds("50%", 0, "50%", "100%");
var lineChartPalette = lineChart.palette();
columnChart.palette(lineChartPalette);
columnChart.container(stage);
var title = anychart.standalones.title();
title.text("Get and use palette.");