The goal of this project is to wrap the Highcharts and Highstock APIs in Opal, providing a simple Ruby interface to Highcharts' functionality.
To find out more about Highcharts, check out these links:
To find out more about Opal, go to http://opalrb.org
Install opal-highcharts from RubyGems:
$ gem install opal-highcharts
Or include it in your Gemfile for Bundler:
gem 'opal-highcharts'
$ git clone https://github.com/balmoral/opal-highcharts
opal-highcharts
can be added to your opal application sources using a standard require:
# app/application.rb
require 'opal'
require 'opal/highcharts'
You need to bring your own
highcharts.js
orhighstock.js
file. If you require Highstock functionality usehighstock.js
, which includes Highcharts. If you only require Highcharts functionality usehighcharts.js
. Download from http://code.highcharts.com/highcharts.js or http://code.highcharts.com/stock/highstock.js and put the file inapp/
or whichever directory you are compiling assets from.
To contribute to this project, follow the steps below.
git checkout -b new-branch
)git commit -am 'description of commit'
)git push origin new-branch
)Contributions welcome.
Free for non-commercial use. See http://www.highcharts.com/ for details.
MIT Licence. See LICENSE.txt