PieCharts don't support custom tooltips, sorry. You can set the formatted values of your data points, which will change the value shown (ie, replace the 30 with "label1"), but that's all you can do.
Hi everybody
Maybe a newbie question:
According to the how tos it's possible to customize the tooltips.
I have the following script (I left out beginning end ending)
Create the data table.
var data = new google.visualization.DataTable();
data.addColumn('string', 'Labels');
data.addColumn('number', 'Slices');
data.addColumn({type: 'string', role: 'tooltip'});
data.addRows([
['Planning and Support',30,'label1'],
['Advisory and Educational',50,'label2'],
['Non-Educational',20,'label3']]);
// Set chart options
var options = {'title':'Extension Activities',
'width':400,
'height':200
};
However, I still get the standard tooltips. I cleared caches, switched browsers etc.
What am I missing?
:-)
Lorenz