anychart.onDocumentReady(function() {
var data = anychart.data.set([
["Peter" , 18000, 16000],
["James" , 11000, 13000],
var data1 = data.mapAs({x: [0], value: [1]});
var data2 = data.mapAs({x: [0], value: [2]});
var chart = anychart.column();
chart.title("Adjusted Context Menu Items");
var menu = chart.contextMenu();
menu.itemsFormatter(function(items){
for(var i=0;i<items.length;i++)
if(items[i].text == "Include") items[i].text = "Hidden";
var series1 = chart.column(data1);
series1.name("Year 2008");
var series2 = chart.column(data2);
series2.name("Year 2009");
chart.container("container");