Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Rickshaw, a javascript graphing library based on d3, for the rails asset pipeline
JavaScript CSS Ruby
Branch: master

Merge pull request #10 from ebouchut/patch-2

Fix a typo in README file.
latest commit 877afd542b
@phillbaker phillbaker authored
Failed to load latest commit information.
app/assets bump to version 1.4.5
lib bump to version 1.4.5
.gitignore init
Gemfile init
LICENSE init
README.md Fix a typo in README file.
Rakefile init
rickshaw_rails.gemspec license

README.md

RickshawRails

This gem packages the Rickshaw Javascript graphing library for easy use with the Rails 3.1+ asset pipeline.

Installation

Add this line to your application's Gemfile:

gem 'rickshaw_rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rickshaw_rails

Usage

Add this line to your application.css:

*= require rickshaw

Add this line to your application.js (This includes both rickshaw and d3.js):

//= require rickshaw_with_d3

You can also require d3 and rickshaw separately if you want:

//= require d3.v2
//= require rickshaw

You can now use rickshaw in your app.

Version

As of February 27th 2013, the version of this gem has been changed to reflect the rickshaw version numbers.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.