0.0
No commit activity in last 3 years
No release in over 3 years
Ruby wrapper for Highcharts/Highstock JS.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

Ruby wrapper for Highcharts.js and Highstock.js charting libraries

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

Installation

Install opal-highcharts from RubyGems:

$ gem install opal-highcharts

Or include it in your Gemfile for Bundler:

gem 'opal-highcharts'

Cloning this repository

$ git clone https://github.com/balmoral/opal-highcharts

Getting Started

Usage

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 or highstock.js file. If you require Highstock functionality use highstock.js, which includes Highcharts. If you only require Highcharts functionality use highcharts.js. Download from http://code.highcharts.com/highcharts.js or http://code.highcharts.com/stock/highstock.js and put the file in app/ or whichever directory you are compiling assets from.

To do

  • Implement Highstock features
  • Documentation
  • Testing

Getting involved

To contribute to this project, follow the steps below.

  1. Fork the repo ( https://github.com/balmoral/opal-highcharts/fork )
  2. Create your feature branch (git checkout -b new-branch)
  3. Commit your changes (git commit -am 'description of commit')
  4. Push to the branch (git push origin new-branch)
  5. Create a Pull Request

Contributions welcome.

Licenses

Highcharts

Free for non-commercial use. See http://www.highcharts.com/ for details.

###opal-highcharts MIT Licence. See LICENSE.txt