【发布时间】:2018-01-23 22:16:03
【问题描述】:
在我的 rails 应用程序中,我添加了一些图表并想将颜色从黑色更改(见图)。
这是我认为的代码:
<%= line_chart $tweet_per_day, id: "line_chart $tweet_per_day", width: "400px", height: "300px", ytitle: "Tweets count", ytitleFontColor: ["pink", "#F76161"], colors: ["blue", "#76BDD1"], download: "top_hashtags", refresh: 60 %>
图表的颜色正确,但轴标题是黑色的,轴也是。
【问题讨论】:
标签: colors ruby-on-rails-3.2 chart.js axis-labels chartkick