Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 460 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 460 Bytes

Chart.js for Rails

Integrate Chart.js into Rails Asset Pipeline (current version is 2.8.0)

Installation

Add this line to your application's Gemfile:

gem 'chart-js-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install chart-js-rails

Add this to your application.js file:

//= require Chart.min

Usage

Visit: http://www.chartjs.org/docs/ for proper Chart.js usage