anychart.onDocumentReady(function () {
var dataTable = anychart.data.table();
dataTable.addData(get_dji_daily_short_data());
var mapping = dataTable.mapAs({
var chart = anychart.stock();
chart.padding(10, 10, 10, 50);
var series = plot.rangeColumn(mapping);
series.stroke(function () {
return "2 " + anychart.color.darken(this.sourceColor)
chart.title("Set stroke parameter as a function.");
chart.container("container");