我在 rails 4.1 中使用 chartkick,由于某种原因我无法更改背景图像!
我的配置文件制定了除背景透明度之外的所有内容。任何帮助都会非常好。
我的配置文件:
Chartkick.options = { library: { legend: { enabled: true }, exporting: { enabled: false }, backgroundColor: "transparent", height: "300px", width: "200px", colors: ["#2c3e50", “#2980b9”、“#e74c3c”、“#c0392b”] } }
谢谢!!