# node-red-contrib-echarts

> Node-RED node for creating SVG charts, using the Apache ECharts library.

Latest version **1.0.0** (published 2022-09-02) · MIT license · 20 weekly downloads

## Install

```sh
npm install node-red-contrib-echarts
pnpm add node-red-contrib-echarts
yarn add node-red-contrib-echarts
bun add node-red-contrib-echarts
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2022-09-02 |
| First published | 2022-09-02 |
| Weekly downloads | 20 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.3 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Paolo Martino |
| Maintainers | martip |
| Keywords | node-red, svg, charts, echarts |

## Links

- npm: https://www.npmjs.com/package/node-red-contrib-echarts
- Repository: https://github.com/martip/node-red-contrib-echarts
- Homepage: https://github.com/martip/node-red-contrib-echarts#readme
- Issues: https://github.com/martip/node-red-contrib-echarts/issues
- npm.io page: https://npm.io/package/node-red-contrib-echarts

## Dependencies (1)

- [echarts](https://npm.io/package/echarts.md) ^5.3.3

## 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

- 1.0.0 (latest) — 2022-09-02

## README

# node-red-contrib-echarts

A [Node-RED](https://nodered.org/) node that creates SVG charts, using the [Apache ECharts](https://echarts.apache.org/) library.

## Install

Either use the `Node-RED Menu - Manage Palette - Install`, or run the following command in your Node-RED user directory - typically `~/.node-red`

    npm install node-red-contrib-echarts

## Usage

You pass the chart configuration in the `msg.payload`.

Please refer to the ECharts documentation.

## Example

~~~
msg.payload = {
  title: {
    text: 'ECharts Getting Started Example'
  },
  tooltip: {},
  legend: {
    data: ['sales']
  },
  xAxis: {
    data: ['Shirts', 'Cardigans', 'Chiffons', 'Pants', 'Heels', 'Socks']
  },
  yAxis: {},
  series: [
    {
      name: 'sales',
      type: 'bar',
      data: [5, 20, 36, 10, 10, 20]
    }
  ]
};
~~~

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