0.01
No commit activity in last 3 years
No release in over 3 years
Gem that includes Highstocks (Interactive library to create stock or general timeline charts in pure JavaScript and including sophisticated navigation options), in the Rails Asset Pipeline introduced in Rails 3.1. Also have all the highcharts features with it.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0
>= 3.1
>= 0

Runtime

>= 3.1
 Project Readme

Gem Version Dependency Status Build Status

Highstocks-Rails

This gem just includes Highstocks as an asset in the Rails 3.1 (or newer) asset pipeline.

The gem currently uses Highstock 2.1.5

What is Highstock?

Highstock lets you create stock or general timeline charts in pure JavaScript, including sophisticated navigation options like a small navigator series, preset date ranges, date picker, scrolling and panning.

Highstock is not free for commercial use, so make sure you have a valid license to use Highstocks.

Will including this gem also give Higcharts features?

The answer is here in this link: Yes, all features of Highcharts are included in Highstock.

Here is a Sample Application showing the usage and also plotting both highstocks and highcharts. 👍

Installation

Add the gem to the Gemfile:

gem "highstocks-rails"    

Usage

Note: v2.1.5 onwards there is a renaming of highstocks to highstock. This is just done to keep the similar naming convention. The impact of this will be changing your require highstocks to require highstock.

In your JavaScript manifest (e.g. application.js):

//= require highstock

To include one of the other adapters:

//= require highstock/adapters/standalone-framework

To include one of the other modules:

//= require highstock/modules/canvas-tools
//= require highstock/modules/data
//= require highstock/modules/drilldown
//= require highstock/modules/exporting
//= require highstock/modules/funnel
//= require highstock/modules/heatmap
//= require highstock/modules/solid-gauge
//= require highstock/modules/no-data-to-display

To include one of the other themes:

//= require highstock/themes/dark-blue
//= require highstock/themes/dark-green
//= require highstock/themes/dark-unica
//= require highstock/themes/gray
//= require highstock/themes/grid
//= require highstock/themes/grid-light
//= require highstock/themes/sand-signika
//= require highstock/themes/skies

Supports both highstocks and highcharts :neckbeard:

alt txt

alt txt

Licensing

Highstocks, has its own, separate licensing.

The gem itself is released under the MIT license

🙏