0.2.2 • Published 6 years ago

highcharts-random v0.2.2

Weekly downloads
9
License
MIT
Repository
github
Last release
6 years ago

highcharts-random

Lightweight javascript library that allow you to generate a random data series which can be used to fill your charts created with the Highcharts JS. Currently, it contains just a few basic methods, but it will be gradually developed.

Usage

First install the package: npm install highcharts-random

Then import it using the ES6 modules or CommonJS import random from 'highcharts-random const random = require('highcharts-random)

Alternatively, you can use unpkg to import the package using a URL: <script src="https://unpkg.com/highcharts-random">

Live demo: https://jsfiddle.net/mateuszkornecki/p2ojweLb/

Avialable methods

  • random.color()
  • random.numberBetween(min? = 0, max? = 10)
  • random.data(length? = 10, min?, max?)
  • random.timeData(length? = 10, min?, max?)
0.2.1

6 years ago

0.2.0

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.9

6 years ago

0.2.2

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.3

6 years ago

0.0.1

6 years ago