Tooltip in bar chart

pie3d the chart label is used the function:

label: function(obj) {
		            var sum = pieChart2.sum("#valor#");
		            return obj.tipo + " (" + Math.round(parseFloat(obj.valor) / sum * 100) + "%)";
		        }

as used in bar chart for the tooltip?

tooltip could be defined as follows:

tooltip:{ template:function(obj) { var sum = pieChart2.sum("#valor#"); return obj.tipo + " (" + Math.round(parseFloat(obj.valor) / sum * 100) + "%)"; } },

thanks for the reply :smiley: