1.0.2 • Published 6 years ago

wx-chart-react v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

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