Does Chartkick allow users to label the x/y axies?
Sample Code:
<%= line_chart Product.group("purchased").maximum(:price) %>
Yes, with Google Charts, use:
<%= line_chart Product.group("purchased").maximum(:price), {library: {hAxis: {title: "X"}, vAxis: {title: "Y"}}} %>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With