0.0.1 • Published 7 years ago

console-charts v0.0.1

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

tcharts.js

Lightweight and fast terminal ASCII charts for nodejs and browser.

1. Install & Usage

npm i -S tcharts.js

const TCharts = require('tcharts.js');
const { Bar, HBar, Box, Table } = TCharts;

const barChart = new Bar(options); // instance the chart with options.

const barString = barChart.string();

console.log(chartString);

2. Supported charts

  • Bar: bar chart, with x, y.
  • HBar: horizontal bar chart.
  • Box: box chart showing with a square.
  • Table: data table in terminal.

    3. Configure options

TODO

4. License

ISC@hustcc.