Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 1.09 KB

README.markdown

File metadata and controls

40 lines (23 loc) · 1.09 KB

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