Skip to content

pivotale20/highcharts-rails

 
 

Repository files navigation

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

About

Simple gem to include Highcharts in a Rails 3.1 app

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%