1.0.13 • Published 7 years ago

tdcharts v1.0.13

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

TDChart

基于EChart组件封装

通过NPM安装使用

npm install tdcharts

API

import TDChart from 'tdcharts'

<TDChart option={option} ref=''/>
    option      配置项、数据(必选)
    
    style       图表容器的样式,默认高宽100%
    
    them        主题    'default'
    
    event       事件    [{eventName: string, query: string||obj, handler: function}, ...]
    
    className   类名
    
获取 Instance Object     [refs].getInstance()

PropTypes

  option:       PropTypes.object.isRequired,
  style:        PropTypes.object,
  theme:        PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
  event:        PropTypes.oneOfType([PropTypes.array, PropTypes.object]),
  className:    PropTypes.string
1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago