I am using Google Visualization Bar Chart and I would like to customize or change the tooltip text and format that appears when clicking on a bar.
I have been through documentation but I didn't find a way to implement this. Do you know:
You can change the way the number is formatted by using the google.visualization.NumberFormat
class.
var formatter = new google.visualization.NumberFormat({
fractionDigits: 0,
prefix: '$'
});
formatter.format(data, 1); // Apply formatter to second column.
If you need more flexibility, have a look at the PatternFormat
class.
Here's the API reference.