anychart.onDocumentReady(function () {
var chart = anychart.column([
{x: 'John', value: 10000},
{x: 'Jake', value: 12000},
{x: 'Peter', value: 18000},
{x: 'James', value: 11000},
var tooltip = chart.tooltip();
tooltip.format('Person: {%x} \nSum: {%Value}');
tooltip.titleFormat('{%SeriesName}');
chart.getSeries(0).name('Sales');
chart.title('Set tooltip width and height');
chart.container('container');