Skip to content

Rickshaw, a javascript graphing library based on d3, for the rails asset pipeline

License

Notifications You must be signed in to change notification settings

ebakan/rickshaw_rails

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RickshawRails

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

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 seperately 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

About

Rickshaw, a javascript graphing library based on d3, for the rails asset pipeline

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.3%
  • CSS 6.6%
  • Ruby 1.1%