anychart.onDocumentReady(function () {
var dataTable = anychart.data.table();
dataTable.addData(getData());
var mapping = dataTable.mapAs({'value': 1});
var chart = anychart.stock();
chart.plot(0).line(mapping);
labels = chart.scroller().xAxis().labels();
minorLabels = chart.scroller().xAxis().minorLabels();
labels.format(function () {
return "'" + anychart.format.dateTime(this.tickValue, "yy");
labels.fontColor('#000');
minorLabels.format(function() {
return anychart.format.dateTime(this.tickValue, 'MMM, d');
minorLabels.fontColor('#000');
chart.title("Format the scroller labels");
chart.container('container');