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();
chart.grouping({minPixPerPoint: 20});
var series = plot.line(mapping);
var state = series.hovered();
state.markers().type('diamond');
chart.title('Get and modify hovered state. Move mouse over the legend item to see');
chart.container('container');