Hi,
Is there a way to add individual colors to a column chart.
I just want a simple chart say Apples 5, Oranges 4. Bananas 6. but
when i add
var chart = new
google.visualization.ColumnChart(document.getElementById('chart_div'));
chart.draw(data, {
width: 1200,
height: 600,
title: 'Fruits',
colors:['#00BB00', '#005ABB', '#CC1D00'],
fill:['#18602E', '#919191','#18602E'],
axisTitlesPosition: 'none',
legend: 'none',
'allowHtml': true,
'cssClassNames': cssClassNames
});
the above uses only the first color attribute(green). I know the
colors option is for the series of each column but id i don't want to
use a series. How can i color each column?
Is there a way to add an id or class to each Column so i can use css?
Ive tried everything from the sample pages on Google and nothing
works.
Thanks
Si
--
You received this message because you are subscribed to the Google Groups
"Google Chart 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-chart-api?hl=en.