1.0.13 • Published 5 years ago

tdcharts v1.0.13

Weekly downloads
2
License
ISC
Repository
github
Last release
5 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

5 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago