문제

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!

도움이 되었습니까?

해결책

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 :)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top