npm.io
1.0.2 • Published 8 years ago

wx-chart-react

Licence
MIT
Version
1.0.2
Deps
3
Size
95 kB
Vulns
0
Weekly
0
Stars
2

wx-chart-react

NPM version MIT License

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 documents

Special options
tooltipEvent

Set the event type fnor tooltip's component, default is mousemove

License

MIT license

Keywords