The docs (http://code.google.com/apis/chart/interactive/docs/gallery/
piechart.html#Configuration_Options) mention a "tooltipText" setting,
that can be 'both', 'value' or 'percentage'. Regardless of what value
I use for it, the tooltip displays both a value and a percentage. Am I
setting it correctly?

var options = {
                is3D:                           true,
                width:                  350,
                height:                 340,
                backgroundColor:        '#333',
                colors:                 ['#cc0000','#00cc00','#0000cc',],
                chartArea:                      { left: 0, top: 0, width: 350, 
height: 340 },
                legend:                 'none',
                pieSliceText:           'label',
                tooltipText:            'percentage'
};
var chart = new
google.visualization.PieChart(document.getElementById('poll_results_graph'));
chart.draw(data, options);

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to