Is there a way to change the color on certain columns? There's an
option for colors, but I haven't been able to get this to work. Can
you help?
<script type="text/javascript" src="
http://www.google.com/jsapi"></
script>
<script type="text/javascript">
google.load('visualization', '1', {packages: ['corechart']});
</script>
<script type="text/javascript">
function drawVisualization() {
var data = new google.visualization.DataTable();
data.addColumn('string', 'Location');
data.addColumn('number', 'Number');
data.addRows(22);
data.setValue(0, 0, 'Value 1');
data.setValue(0, 1, 1239);
data.setValue(1, 0, 'Value 2');
data.setValue(1, 1, 913);
var options = {
width: 600,
height: 600,
title: 'Chart Title',
colors: ['#7b1315','#6b999f'],
legend: 'none'
};
// Create and draw the visualization.
new
google.visualization.ColumnChart(document.getElementById('visualization')).
draw(data, options);
}
google.setOnLoadCallback(drawVisualization);
</script>