50 Commits

Author SHA1 Message Date
bpdsw
c191d484cb
Add getEchartsInstance API to type definition file (#352)
Co-authored-by: Benjamin Dobson <dobsonpublic@icloud.com>
2020-05-19 19:46:12 +08:00
hustcc
998b83251c
chore: upgrade size-sensor version (#358) 2020-05-19 19:46:04 +08:00
howel52
dce3ec6501 fix(core): remark typo 2019-12-02 14:06:31 +08:00
Colder Xihk
b1df3b339b fix: use @types/echarts as option type (#325) 2019-11-16 08:15:59 +08:00
hustcc
9a26214bd0 chore: build and update version 2019-09-29 17:04:25 +08:00
xsthunder
5763e01a4d make core.d.ts inherit index.d.ts, fix inconsistence in d.ts fix #226 (#232)
* add core.d.ts for ReactEchartsCore for ts

* make echarts props nessary in core.d.ts

* make core.d.ts inherit index.d.ts
2018-09-30 19:50:00 +08:00
SidKwok
72f2df8520 add object type check in core.d.ts 2018-09-18 20:57:31 +08:00
xsthunder
d42026458c add .d.ts for ReactEchartsCore allowing us to reduce echarts bundle size in ts (#225)
* add core.d.ts for ReactEchartsCore for ts

* make echarts props nessary in core.d.ts
2018-09-17 09:44:13 +08:00
Howard.Zuo
c78ddf5d5f fix: remove this reference since it is not necessary (#223) 2018-09-17 09:42:56 +08:00
hustcc
921265e271 try catch with echarts.resize() 2018-08-08 16:15:19 +08:00
hustcc
2d4a3e603c shouldSetOption not exist 2018-06-22 11:07:12 +08:00
hustcc
7d67e5ce5e replace element-resize-event with size-sensor 2018-06-06 16:40:53 +08:00
hustcc
c7598264a1 add props function shouldSetOption 2018-05-21 20:02:22 +08:00
hustcc
8565a6fb95 update demo website, use immutable on state 2018-05-21 16:23:19 +08:00
hustcc
07866bfbcf update testcase for setTimeout 2018-05-18 21:36:18 +08:00
hustcc
6844cc287b remove unused resize 2018-05-18 18:01:40 +08:00
hustcc
3b621d94e7 #174 #175, performance opt 2018-05-18 17:59:56 +08:00
hustcc
56ff43c880 remove unused code branch 2018-03-30 22:13:29 +08:00
hustcc
44c1e27e10 fix duplicate bind event, fixed #155 2018-03-02 21:32:06 +08:00
hustcc
caa31b4183 onEvent 为 null 报异常,fixed #154 2018-03-02 14:09:01 +08:00
hustcc
ea1e0d9fd3 fix bug of 100px width * height, #149 #150 2018-03-01 13:08:52 +08:00
hustcc
8514679786 add ts for prop opts, fixed #153 2018-02-27 11:54:30 +08:00
hustcc
2f015808d7 fix events can not be removed, fixed #151 2018-02-26 16:31:25 +08:00
hustcc
0164ccee3c add props opts for echarts@4.x svg renderer, #138 2018-01-29 13:47:05 +08:00
hustcc
f79b20a9ea unbind can not be called 2017-12-28 20:51:40 +08:00
hustcc
42d6896a68 add ReactEcharts ts declare 2017-12-26 20:46:51 +08:00
hustcc
da0f2f870f fixed #130, & upgrade testcases & rewrite website code 2017-12-26 19:45:34 +08:00
hustcc
b1369dfc94 1. simplify ts config
2. update demo code
3. update babel-preset-env
2017-12-24 18:12:00 +08:00
Carlos
e1e959f205 Add typescript declare definition file (#125)
* add typescript declare definition file

* modify readme

* remove tsc script

* add typescript test into test script
2017-12-24 12:24:38 +08:00
xiaowei.wzw
d460685f6e add try catch, fixed #128 2017-12-21 18:48:40 +08:00
赖小赖
aaa41db84d resize after props change. (#127) 2017-12-20 16:31:52 +08:00
hustcc
5c13ff1520 fixed #74, and update testcases 2017-06-16 13:27:46 +08:00
SidKwok
be63e4fc03 use HOC to solve externals issue 2017-06-12 12:10:06 +08:00
SidKwok
9cd45f66b4 fix entry files 2017-06-10 13:59:47 +08:00
Sid
ff3266200f 使用外部提供的echarts来替代在组件里面的echarts (#64)
* use external echarts to replace built in

* update for stable use
2017-05-29 08:45:18 +08:00
hustcc
b4d31b881e udpate for elementResizeEvent.unbind 2017-05-12 10:36:52 +08:00
hustcc
70e94f6a51 for issue #54 warnings 2017-05-10 10:22:19 +08:00
hustcc
4747bbf4b8 optimization 2017-04-28 15:30:39 +08:00
小为
3979aa0fb1 add react@15.5.0 supported 2017-04-17 19:54:54 +08:00
Harry Rong
5aae897d1c Add the loading option (#46)
* Add the loading option

* Modify the loading option
2017-03-31 14:27:16 +08:00
hustcc
e08ec20acf build website, v1.1.6 #23 2016-11-21 12:49:55 +08:00
cdoneshot
0d7fadf19e 修改事件只能在初始化阶段传入绑定,后期动态传入事件绑定无效的问题。 (#23) 2016-11-21 12:25:25 +08:00
LiPinghai
47a82d5601 add para noMerge & lazyUpdate (#14) 2016-09-13 12:24:09 +08:00
hustcc
67229366db fixed #10 -> v1.1.4 2016-08-22 12:22:21 +08:00
hustcc
d6f6647c23 fixed #7, can use it with require('...') 2016-08-08 19:40:45 +08:00
aTool
b40c661005 fixed ie8 compatibility. #2 2016-06-09 00:02:58 +08:00
hustcc
72b54bb50c fix #1, add style and className props. v1.1.1 2016-06-08 15:21:21 +08:00
aTool
384995b0e4 add echarts API, v1.1.0 2016-06-04 22:22:12 +08:00
aTool
e2178080ef update readme, v1.0.4 2016-06-04 11:47:34 +08:00
hustcc
4a5d74d323 v1.0.1 2016-06-03 18:36:13 +08:00