anychart.onDocumentReady(function () {
var chart = anychart.ohlc([
[new Date('28-Aug-15'), 511.53, 514.98, 505.79, 506.40],
[new Date('29-Aug-15'), 507.84, 513.30, 507.23, 512.88],
[new Date('30-Aug-15'), 512.36, 515.40, 510.58, 511.40],
[new Date('31-Aug-15'), 513.10, 516.50, 511.47, 515.25],
[new Date('01-Sep-15'), 515.02, 528.00, 514.62, 525.15]
var xScale = chart.xScale();
xScale.minimum(new Date('27-Aug-15')).maximum(new Date('02-Sep-15'));
chart.container('container');
xScale.transform(new Date('1-Sep-15'));