https://github.com/nursoltan-s/rails_chartjs
Integrate latest Chart.js library to your Rails app.
https://github.com/nursoltan-s/rails_chartjs
chartjs gem rails ruby
Last synced: 6 months ago
JSON representation
Integrate latest Chart.js library to your Rails app.
- Host: GitHub
- URL: https://github.com/nursoltan-s/rails_chartjs
- Owner: nursoltan-s
- License: mit
- Created: 2019-10-04T08:06:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-04T08:55:22.000Z (over 6 years ago)
- Last Synced: 2025-01-22T10:14:24.742Z (over 1 year ago)
- Topics: chartjs, gem, rails, ruby
- Language: Ruby
- Size: 48.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](https://badge.fury.io/rb/rails_chartjs)
# Introduction
Integrate chartjs library to your rails app.
[Chart.js](http://www.chartjs.org) 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
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request