anychart.onDocumentReady(function () {
var chart = anychart.column([
var contextMenu = chart.contextMenu();
contextMenu.itemsFormatter(function (items) {
text: 'Custom Context Menu Item',
function actionHandler() {
alert('Custom Item Clicked');
chart.title('Get and modify context menu. Right-click on the chart');
chart.container('container');