# fundcharts-node

> (nodejs)lightweight canvas data visualization library. 1.x: line/bar/pie/radar/scatter/kline chart.

Latest version **0.1.11** (published 2022-03-22) · ISC license · 0 weekly downloads

## Install

```sh
npm install fundcharts-node
pnpm add fundcharts-node
yarn add fundcharts-node
bun add fundcharts-node
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.11 |
| Published | 2022-03-22 |
| First published | 2022-03-22 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 48.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 179 |
| Author | MichealWayne |
| Maintainers | michealwayne |
| Keywords | fundcharts, canvas, charts, web, weapp, nodejs |

## Links

- npm: https://www.npmjs.com/package/fundcharts-node
- Repository: https://github.com/MichealWayne/FundCharts
- Homepage: https://github.com/MichealWayne/FundCharts#readme
- Issues: https://github.com/MichealWayne/FundCharts/issues
- npm.io page: https://npm.io/package/fundcharts-node

## Alternatives

- [d3-force-3d](https://npm.io/package/d3-force-3d.md) — 1.0M weekly downloads
- [ng2-charts](https://npm.io/package/ng2-charts.md) — 486.8K weekly downloads
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) — 257.8K weekly downloads
- [react-sparklines](https://npm.io/package/react-sparklines.md) — 249.3K weekly downloads
- [react-native-gifted-charts](https://npm.io/package/react-native-gifted-charts.md) — 182.3K weekly downloads

## Recent versions

- 0.1.11 (latest) — 2022-03-22

## README

# FundCharts-nodejs

<a href="http://blog.michealwayne.cn/FundCharts/docs/">
	<img style="width: 100%; max-width: 200px;" src="http://blog.michealwayne.cn/images/fundchartspics/bg.png"/>
</a>

web/weapp/nodejs canvas lite charts library.

## Version
0.1.11

## Install
``` sh
npm install --save fundcharts-node
```

## Usage

``` js
const fs = require('fs');
const path = require('path');
const Canvas = require('canvas');
const { FundCharts } = require('fundCharts-node');

// chart 1
const chart1 = new FundCharts.line({
  id: 'line1',
  width: 750,
  height: 375,
  xaxis: ['07-11', '08-11', '09-11', '09-22', '10-11', '11-11', '12-11'],
  data: [1, 2, 3, 4, 3.5, 3, 4],
  Canvas: Canvas,
  handleOut: canvas => {
    let out = fs.createWriteStream(path.join(__dirname, './line1.jpg')),
      stream = canvas.createJPEGStream();

    stream.on('data', function(chunk) {
      out.write(chunk);
    });
  },
});

chart1.init();
```

## demo
[github FundCharts-demos](https://github.com/MichealWayne/FundCharts/tree/master/demo)

<p>
<a href="https://github.com/MichealWayne/FundCharts/tree/master/demo">
	<img style="width: 375px" src="https://blog.michealwayne.cn/images/fundchartspics/guide/p-1.jpg" alt="combo1.jpg"/>
</a>
<a href="https://github.com/MichealWayne/FundCharts/tree/master/demo">
	<img style="width: 375px" src="https://blog.michealwayne.cn/images/fundchartspics/guide/p-2.jpg" alt="combo2.jpg"/>
</a>
</p>
<p>
<a href="https://github.com/MichealWayne/FundCharts/tree/master/demo">
	<img style="width: 375px" src="https://blog.michealwayne.cn/images/fundchartspics/gifs/line.gif" alt="line.gif"/>
</a>
<a href="https://github.com/MichealWayne/FundCharts/tree/master/demo">
	<img style="width: 375px" src="https://blog.michealwayne.cn/images/fundchartspics/gifs/pie.gif" alt="pie.gif"/>
</a>
</p>

## Author

[Wayne](mailto:michealwayne@163.com)

## Update time

2022.02.05

---
_Source: https://npm.io/package/fundcharts-node · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
