# wx-chart-react

> A react adapter for wx-chart

Latest version **1.0.2** (published 2018-05-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install wx-chart-react
pnpm add wx-chart-react
yarn add wx-chart-react
bun add wx-chart-react
```

## 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.2 |
| Published | 2018-05-29 |
| First published | 2017-09-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 94.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Jone Casper |
| Maintainers | jonecasper |
| Keywords | react, wx-chart |

## Links

- npm: https://www.npmjs.com/package/wx-chart-react
- Repository: https://github.com/xch89820/wx-chart-react
- Homepage: https://github.com/xch89820/wx-chart-react#readme
- Issues: https://github.com/xch89820/wx-chart-react/issues
- npm.io page: https://npm.io/package/wx-chart-react

## Dependencies (3)

- [react](https://npm.io/package/react.md) ^16.4.0
- [wx-chart](https://npm.io/package/wx-chart.md) ^1.0.1
- [react-dom](https://npm.io/package/react-dom.md) ^16.4.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2018-05-29
- 1.0.0 — 2017-09-08

## README

# wx-chart-react
[![NPM version][npm-version-image]][npm-url]
[![MIT License][license-image]][license-url]

A react adapter for wx-chart

## Usage

### Install

Use NPM:
```
npm i wx-chart-react --save
```

Use Bower:
```
bower install wx-chart-react
```

### Simple Use with react

```
import React from 'react';
import ReactDOM from 'react-dom';
import WxLinerReact from 'wx-chart-react';

// initialization
let options = {...};
const myChart = ReactDOM.render(<WxLinerReact {...options}></WxLinerReact>, 'myCanvas');
```

More options, please see [wx-chart](https://github.com/xch89820/wx-chart) documents

#### Special options

##### tooltipEvent

  Set the event type fnor tooltip's component, default is `mousemove`

## License

[MIT license](http://opensource.org/licenses/MIT)

[license-image]: http://img.shields.io/badge/license-MIT-blue.svg?style=flat
[license-url]: http://opensource.org/licenses/MIT

[npm-url]: https://www.npmjs.com/package/wx-chart-react
[npm-version-image]: http://img.shields.io/npm/v/wx-chart-react.svg?style=flat
[npm-downloads-image]: http://img.shields.io/npm/dm/wx-chart-react.svg?style=flat

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