xcharts-rails gem

A gem to add xCharts into your Rails application Assets Pipeline.

This repository is a fork of orlando/xcharts_rails.

Installation

Add this line to your application's Gemfile:

gem 'xcharts-rails'

And then execute:

$ bundle install

Now add xcharts to application.js and application.css:

Open application.js and add the following lines:

//= require d3.v3
//= require xcharts

Then open application.css and add the following line:

*= require xcharts

Now you are ready to follow the xCharts documentation.

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

Copyright (c) 2014 Guillaume Hain. See LICENSE.txt for further details.