Given the data for the pie chart:
data = new google.visualization.arrayToDataTable([ ['Sales', 'Revenue Distribution'], ['Author', 5], ['Company', 2], ['Tax', 0.4], ['Payment Processors', 0.9] ]); drawChart();
How can I display it as a dollar amount? Either in the tooltip or on the actual chart itself (both are preferable!)
For example, ideally this would work:
data = new google.visualization.arrayToDataTable([ ['Sales', 'Revenue Distribution'], ['Author', '$5'], ['Company', '$2'], ['Tax', '$0.4'], ['Payment Processors', '$0.9'] ]); drawChart();
source share