anychart.onDocumentReady(function () {
var dataTable = anychart.data.table();
dataTable.addData(get_dji_daily_short_data());
var rangeStepAreaMapping = dataTable.mapAs({
var lineMapping = 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.rangeStepArea(rangeStepAreaMapping);
series.selectLowStroke(function () {
return "2 " + anychart.color.darken(this.sourceColor)
chart.title("Set select low stroke parameter as a function.");
chart.container("container");