Skip to content

Fea-Sin/zfg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.