Use the Chartkick colors option

This commit is contained in:
gregoirenovel 2017-06-07 14:53:10 +02:00
parent d21e63d490
commit ba865215af
2 changed files with 11 additions and 15 deletions

View file

@ -1 +1,4 @@
Chartkick.options[:content_for] = :charts_js
Chartkick.options = {
content_for: :charts_js,
colors: ["rgba(191, 220, 249, 1)", "rgba(113, 176, 239, 1)", "rgba(61, 149, 236, 1)"]
}