Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

data-forge-to-highstock

0.0.18 • Public • Published

data-forge-to-highstock

Data-Forge plugin for transforming data to the Highstock format.

Installation

You need Data-Forge to use this plugin.

For Nodejs:

npm install --save data-forge-to-highstock

For the browser:

bower install --save data-forge-to-highstock

Setup

For Nodejs:

var dataForge = require('data-forge');
dataForge.use(require('data-forge-to-highstock'));

For the browser:

<script src="bower_components/data-forge/data-forge.js"></script>
<script src="bower_components/data-forge-to-highstock/to-highstock.dist.js"></script>

Usage

var dataFrame = ... some data ...
var highstockData = dataFrame.toHighstock();

Or

var highstockData = dataFrame.toHighstockOHLC();

You now use highstockData as an input to your Highstock chart.

For more information

Please see the related article about graphing financial data with Data-Forge and Highstock.

install

npm i data-forge-to-highstock

Downloadsweekly downloads

1

version

0.0.18

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability