Skip to content

ankit8898/highstocks-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

🙏

About

Library to include highstocks in your rails application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published