0.2.2 • Published 4 years ago

highcharts-random v0.2.2

Weekly downloads
9
License
MIT
Repository
github
Last release
4 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

4 years ago

0.2.0

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.9

4 years ago

0.2.2

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.3

4 years ago

0.0.1

4 years ago