Simple gem to include Highcharts in a Rails 3.1 app
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 2 commits ahead, 171 commits behind PerfectlyNormal:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
vendor/assets/javascripts
.gitignore
Gemfile
LICENSE
README.markdown
Rakefile
highcharts-rails.gemspec

README.markdown

Highcharts-Rails

This gem just includes Highcharts as an asset in the Rails 3.1 asset pipeline. Highcharts is not free for commercial use, so make sure you have a valid license to use Highcharts.

Installation

Add the gem to the Gemfile

gem "highcharts-rails", "~> 0.1.0"

Usage

In your JavaScript manifest (e.g. application.js)

//= require highcharts

To include one of the other adapters

//= require highcharts/adapters/mootools
//= require highcharts/adapters/prototype

Or the Exporting module

//= require highcharts/modules/exporting

Or one of the themes

//= require highcharts/themes/dark-blue
//= require highcharts/themes/dark-green
//= require highcharts/themes/gray
//= require highcharts/themes/grid

Other than that, refer to the Highcharts documentation

Licensing

Highcharts, which makes up the majority of this gem, has its own, separate licensing.

The gem itself is released under the MIT license