anychart.onDocumentReady(function () {
var dataTable = anychart.data.table();
dataTable.addData(get_dji_daily_short_data());
var mapping = dataTable.mapAs({value: 1});
var chart = anychart.stock();
var triangleAnnotations = chart.annotations();
chart.title('Start drawing an annotation and click here to cancel drawing');
chart.container('container');
triangleAnnotations.startDrawing('triangle');
var title = chart.title();
title.listen('click', function () {
triangleAnnotations.cancelDrawing();