how to change charts colors in slate admin?
Question
I'm using slate admin and I display some charts and it works pretty well but I would like to change colors of these charts (they aren't different enough).
Where are these colors configured? Is it possible to do it with a javascript call?
Thanks!
La solution
Finally found the solution.
Locate the file
js/slate/slate.js
and change the line
var chartColors = ['#be1e2d','#0CC912','#92d5ea','#ee8310','#8d10ee','#5a3b16','#26a4ed','#f45a90','#e9e744'];
with the colors you want :)
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow