Introduction
Integrate chartjs library to your rails app.
Chart.js is "Simple HTML5 charts using the canvas element".
This is a package for simple integration in Rails.
Installation
Add this line to your application's Gemfile:
gem 'rails_chartjs'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rails_chartjs
Usage
Require using Assets pipeline
//= require chart
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request