Hello everyone,
i have the follwing situation:
I have an Ext.Panel with an Ext.chart.PieChart within.
For some information reasons i have to change the tooltip of each slice.
Here is my code (abbreviated)
Code:
var chart = new Ext.chart.PieChart(
{
store: config.chartStore,
xtype: 'piechart',
dataField: 'total',
categoryField: 'project'
}
);
chart.setTipRenderer(
function() {
console.log("tiprender")
}
);
This is what whate Chrome tells me
I looked into the src of the Chart.js and found the following line to cause the error:
Code:
chart.swf.setDataTipFunction(chart.tipFnName);
(At least i think so).
How to fix this?
Kind regards,
Timetrick