1.3.3 • Published 8 years ago

ascii-chart v1.3.3

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

Chart

Ascii bar chart for nodejs.

npm.io

Installation

$ npm install jstrace/chart

Example

When data exceeds the available width the data will "roll" to the tail-end of the array. This may become an option in the future, but that's the default behaviour for now ;)

var chart = require('ascii-chart');
var clear = require('clear');

var data = [1, 2, ...];

clear();
console.log(chart(data, {
  width: 130,
  height: 30,
  pointChar: '█',
  negativePointChar: '░'
}));

License

MIT

1.3.3

8 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.2.0

8 years ago

1.1.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago