there is such a set of parameters in the bootstrap charts

var data = { labels: ["January", "February", "March", "April", "May", "June", "July"], datasets: [ { label: "My First dataset", fillColor: "rgba(220,220,220,0.2)", strokeColor: "rgba(220,220,220,1)", pointColor: "rgba(220,220,220,1)", pointStrokeColor: "#fff", pointHighlightFill: "#fff", pointHighlightStroke: "rgba(220,220,220,1)", data: [65, 59, 80, 81, 56, 55, 40] }, ] }; 

but when trying to do with a different color (blue) like this

 var data = { labels: ["January", "February", "March", "April", "May", "June", "July"], datasets: [ { label: "My First dataset", fillColor: "rgba(48,165,255,0.2)", strokeColor: "rgba(48,165,255,1)", pointColor: "rgba(48,165,255,1)", pointStrokeColor: "#fff", pointHighlightFill: "#fff", pointHighlightStroke: "rgba(48,165,255,1)", data: [65, 59, 80, 81, 56, 55, 40] }, ] }; 

nothing happens (who knows how to make the right color?

  • Collect a working, or almost a working demo of the code, then there will be more chances that they will respond in essence. By one parameters you can not determine anything. At first glance, the parameters themselves are correct. - Stanislav Hmelevsky
  • I changed nothing except the parameters, the demo is here - mdbootstrap.com/javascript/charts - misha11
  • Everything works correctly but the color of the lines does not change - misha11
  • I mean a working demo in which you can change the parameters. To check on it. )) - Stanislav Hmelevsky
  • the fact is that I stupidly copied everything from there and did not add anything yet and did not change it - misha11

0