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("Tooltip Position");
var series1 = chart.column(data1);
series1.name("Year 2008");
var series2 = chart.column(data2);
series2.name("Year 2009");
var tooltip = chart.tooltip();
tooltip.positionMode("point");
var tooltip1 = series1.tooltip();
tooltip1.position("leftCenter");
var tooltip2 = series2.tooltip();
tooltip2.position("rightCenter");
tooltip1.anchor("rightCenter");
tooltip2.anchor("leftCenter");
chart.container("container");