anychart.onDocumentReady(function () {
var chart = anychart.column([4, 2, 3], [1.1, 1.6, 1.3], [3, 2, 5]);
var secondSeries = chart.getSeries(1);
var tooltip = secondSeries.tooltip();
tooltip.format("Average by Y: {" + anychart.enums.StringToken.CATEGORY_Y_AVERAGE + "}");
chart.title("Set string token in the tooltip.");
chart.container("container");