anychart.onDocumentReady(function () {
['John', 10000, 12000, 20000, 16000],
['Jake', 12000, 15000, 19000, 21000],
['Peter', 16000, 17000, 21000, 22000]
var chart = anychart.column();
var legend = chart.legend();
legend.listen('legendItemClick', function(e){
var seriesName = chart.getSeriesAt(e.itemIndex).name();
chart.title(seriesName + ' item has been clicked on');
chart.title('LegendItemClick event');
chart.container('container');