var data = google.visualization.arrayToDataTable(stats_data); var options = { width: 1400, height: 400, legend: { position: 'top', maxLines: 3 }, bar: { groupWidth: '75%' }, isStacked: true, bars: 'vertical', colors:['#999','#346ac9', '#279423', '#fc9826'], }; var chart = new google.charts.Bar(document.getElementById('chart-recent')); chart.draw(data, google.charts.Bar.convertOptions(options));
I have a summary histogram and I want each of the colors to be different (gray, blue, green, orange). However, the colors of the partitions simply assume the first color (gray) in several brightnesses.

I also tried this in my options :
series: [ {color: '#999'}, {color: '#346ac9'}, {color: '#279423'}, {color: '#fc9826'} ]
How can I get each batch of a different color?
javascript charts material-design
Kenny wyland
source share