anychart.onDocumentReady(function () {
var dataTable = anychart.data.table();
dataTable.addData(get_dji_daily_short_data());
var ohlcMapping = dataTable.mapAs({
var stepAreaMapping = dataTable.mapAs({value: 1});
var chart = anychart.stock();
chart.grouping({minPixPerPoint: 5});
chart.scrollerGrouping({minPixPerPoint: 5});
chart.padding(10, 10, 10, 50);
var scroller = chart.scroller();
var series = scroller.stepArea(stepAreaMapping);
series.selectFill(function () {
return this.sourceColor + " 0.3"
chart.title("Set select fill parameter as a function.");
chart.container("container");