An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

[![Gem Version](https://badge.fury.io/rb/rails_chartjs.svg)](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