What about this?
pieSliceTextStyle: {'color': 'black', 'fontName': 'courier', 'fontSize': 18}
or
pieSliceTextStyle: {'color': '#ff0000', 'fontName': 'courier', 'fontSize':
18}
(you can omit the 'fontName' and 'fontSize' properties if you don't need
them)
You can try adding these options to the PieChart example in the
playground<http://code.google.com/apis/ajax/playground/?type=visualization#pie_chart>and
it should work as you expect, e.g.:
new google.visualization.PieChart(document.getElementById('visualization')
).
draw(data, {
title:"So, how was your day?",
pieSliceTextStyle: {'color': '#ff0000'}
});
/R.
--
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.