I am using to display tooltip this:
function chart.beforeInit(sender, config)
{
config.series[0].tooltip =
{
trackMouse: true,
width: 120,
renderer: function(tip, item)
{
tip.setTitle(item.get('LL'));
tip.update('<b>' + Ext.util.Format.number(item.get('A').toFixed(2),'0,000.00')+'</b>');
}
}
}
I need also to show the percent
for example
if the title is 2015 and value is 10000 and that is 25% of the total
Display something like this
2015
10,0000.00(25%)