I am looking to customize the colors of the bars in this graph according to my own preferences. I do not want to use random colors for the bars (or set of bars).
var ctx = $("#myBarChart").get(0).getContext("2d");
var data = {
labels: ["a","b","c","d","e","f","g"],
datasets: [
{
label: "My First dataset",
/*fillColor: "rgba(84,255,159,1)",
highlightFill: "rgba(84,255,159,0.75)",*/
data: [5,3, 4, 2, 1, 3, 1]
},
]};
var myBarChart = new Chart(ctx).Bar(data);
var width = $('canvas').parent().width();
$('canvas').attr("width",width);
new Chart(ctx).Bar(data);