anychart.onDocumentReady(function () {
var data = anychart.data.set([
["John" , 10000, 12000, 10000, 14000],
["Jake" , 12000, 15000, 13000, 12500],
["Peter" , 18000, 16000, 17000, 17000],
["James" , 11000, 13000, 10000, 11500],
["Mary" , 9000, 19000, 16000, 13000]
var data1 = data.mapAs({x: 0, value: 1});
var data2 = data.mapAs({x: 0, value: 2});
var data3 = data.mapAs({x: 0, value: 3});
var data4 = data.mapAs({x: 0, value: 4});
var chart = anychart.column();
chart.title("Enable & Disable Series Tooltip");
var series1 = chart.column(data1);
series1.name("Year 2008");
var series2 = chart.column(data2);
series2.name("Year 2009");
var series3 = chart.column(data1);
series3.name("Year 2010");
var series4 = chart.column(data2);
series4.name("Year 2011");
chart.tooltip().padding().left(20);
chart.tooltip().background().fill("#663399");
series2.tooltip().background().fill("green");
chart.container("container");