Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Chartkick 是否允许用户标记 x/y 轴?
Sample Code: <%= line_chart Product.group("purchased").maximum(:price) %>
是的,使用谷歌图表,使用:
<%= line_chart Product.group("purchased").maximum(:price), {library: {hAxis: {title: "X"}, vAxis: {title: "Y"}}} %>