0.3.1 • Published 5 years ago
fastchart v0.3.1
Fastchart
Fastchart is JavaScript library for data visualization.
Learn how to use Fastchart in your own project.
Installation
npm install fastchart
Documentation
You can find all documentation by the link
Examples
Some examples you can find in ./examples folder of the repo.
This is an example of usage the library.
const {Chart, ChartEngine} = window.fastchart;
const line = new Chart({color: '#fd6585', width: 3});
const engine = new ChartEngine({type: 'canvas'});
engine.setElement(window.document.getElementById('container'));
engine.setChart(line);
line.setData([1, 4, 6, -2, 1, -2, 6, 4, 1]);
engine.draw();
License
Fastchart is MIT licensed