Create IF to change chart.js bar color
问题 I'm new to JavaScript and i'm using chart.js to create some data visualizations, and i need to change the color of the entire bar for different values, the code i have so far is what follows, but i can't make it work, this isn't giving me any errors, so i don't know were to go. var dData1 = 90; ///////CARREGAR DADOS DE FACTURAÇÃO (for developer) var dData2 = 70; ///////CARREGAR DADOS DE FACTURAÇÃO (for developer) var barChartData = { labels: ["MÊS", "ANO"], datasets: [{ fillColor: "#f37c8a",