Highstock lets you create stock or general timeline charts in pure JavaScript with sophisticated navigation options like a small navigator series, preset date ranges, date picker, scrolling, and panning. This gem includes Highstock as an asset in the Rails 3.1+ asset pipeline. Note: Highstock is not free for commercial use, so you'll need a valid license to use Highstock.
If you're looking for Highcharts, check out PerfectlyNormal's gem.
Add this line to your application's Gemfile:
gem 'highstock-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install highstock-rails
In your JavaScript manifest (application.js):
//= require highstock
//= require highstock/highcharts-more
Refer to the Highstock documentation for more information.
Highstock has its own seperate licensing agreement.
The highstock-rails gem is released under the MIT license.
- Fork it ( http://github.com/justinkuepper/highstock-rails/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request