anychart.onDocumentReady(function() {
anychart.format.outputLocale('zh-cn');
[Date.UTC(2016, 0, 1), 3],
[Date.UTC(2016, 2, 1), 5],
[Date.UTC(2016, 11, 1), 2]
chart = anychart.line(data);
chart.xAxis(0).labels().format(function() {
return anychart.format.dateTime(this.value);
chart.tooltip().titleFormat(function() {
return anychart.format.dateTime(this.x);
chart.container('container');