Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

zfg

fea-sin81MIT2.1.8

g2 react packaging version

react chart, g2 react chart

readme

ZFG

g2 react packaging version

✨ Example View

example example

📦 Installation

npm install --save zfg

Chart

  • 饼形图 => PIE
  • 柱状图 => COLUMN, INTERVAL
  • 散点图 => POINT
  • 线状图 => LINE
  • 面积图 => AREA
  • 中国地图 => CHINAMAP

Usage

import { LINE } from 'zfg';

<LINE data={data} config={config} />

Development

npm install
npm start

Example

http://localhost:8018/examples/pie.html

Test

  npm test

  npm run coverage

License

zfg is released under the MIT license.