anychart.onDocumentReady(function () {
var dataTable = anychart.data.table();
dataTable.addData(get_dji_daily_short_data());
var mapping = dataTable.mapAs();
mapping.addField('open', 1, 'first');
mapping.addField('high', 2, 'max');
mapping.addField('low', 3, 'min');
mapping.addField('close', 4, 'last');
mapping.addField('value', 4, 'last');
var chart = anychart.stock();
chart.padding(10, 10, 10, 50);
var indicatorPlot = chart.plot(1);
var bbandsBIndicator = indicatorPlot.bbandsB(mapping);
bbandsBIndicator.period(30);
chart.title("Set indicator period");
chart.container("container");