[GitHub] [incubator-echarts] echarts-robot[bot] commented on issue #11208: 折线图数据显示有误,具体看图

2019-09-09 Thread GitBox
echarts-robot[bot] commented on issue #11208: 折线图数据显示有误,具体看图
URL: 
https://github.com/apache/incubator-echarts/issues/11208#issuecomment-529781529
 
 
   Hi! We've received your issue and please be patient to get responded. 
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to 
demo your request**. You may also check out the 
[API](http://echarts.apache.org/api.html) and [chart 
option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent 
question to ask, you may also send an email to d...@echarts.apache.org .
   
   If you are interested in the project, you may also subscribe our [mail 
list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] Agagy opened a new issue #11208: 折线图数据显示有误,具体看图

2019-09-09 Thread GitBox
Agagy opened a new issue #11208: 折线图数据显示有误,具体看图
URL: https://github.com/apache/incubator-echarts/issues/11208
 
 
   ### Version
   4.3.0-rc.2
   
   ### Reproduction link
   
[https://www.echartsjs.com/examples/zh/editor.html?c=line-stack](https://www.echartsjs.com/examples/zh/editor.html?c=line-stack)
   
   ### Steps to reproduce
   option = {
   title: {
   text: '折线图堆叠'
   },
   tooltip: {
   trigger: 'axis'
   },
   legend: {
   data:['邮件营销','联盟广告']
   },
   grid: {
   left: '3%',
   right: '4%',
   bottom: '3%',
   containLabel: true
   },
   toolbox: {
   feature: {
   saveAsImage: {}
   }
   },
   xAxis: {
   type: 'category',
   boundaryGap: false,
   data: ['周一','周二','周三','周四','周五','周六','周日']
   },
   yAxis: {
   type: 'value'
   },
   series: [
   {
   name:'邮件营销',
   type:'line',
   stack: '总量',
   data: [0, 0, 2, 0, 1, 0, 0]
   },
   {
   name:'联盟广告',
   type:'line',
   stack: '总量',
   data: [1, 0, 0, 1, 1, 0, 0]
   }
   ]
   };
   
   ### What is expected?
   图表显示正确的数据值
   
   ### What is actually happening?
   图表未显示正确的数据值
   
   
   
![图片](https://user-images.githubusercontent.com/33778021/64587482-1e82eb00-d3d2-11e9-9fa7-e356fecb54e2.png)
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] Agagy opened a new issue #11207: 折线图数据显示有误,具体看图

2019-09-09 Thread GitBox
Agagy opened a new issue #11207: 折线图数据显示有误,具体看图
URL: https://github.com/apache/incubator-echarts/issues/11207
 
 
   
   
![图片](https://user-images.githubusercontent.com/33778021/64586609-5dfc0800-d3cf-11e9-9ec8-e3c8f17b31d1.png)
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] echarts-robot[bot] commented on issue #11207: 折线图数据显示有误,具体看图

2019-09-09 Thread GitBox
echarts-robot[bot] commented on issue #11207: 折线图数据显示有误,具体看图
URL: 
https://github.com/apache/incubator-echarts/issues/11207#issuecomment-529777100
 
 
   This issue is not created using [issue 
template](https://ecomfe.github.io/echarts-issue-helper/) so I'm going to close 
it. 
   Sorry for this, but it helps save our maintainers' time so that more 
developers get helped.
   Feel free to create another issue using the issue template.
   
   If you think you have already made your point clear without the template, or 
your problem cannot be covered by it, you may re-open this issue again.
   
   这个 issue 未使用 [issue 
模板](https://ecomfe.github.io/echarts-issue-helper/?lang=zh-cn) 创建,所以我将关闭此 issue。
   为此带来的麻烦我深表歉意,但是请理解这是为了节约社区维护者的时间,以更高效地服务社区的开发者群体。
   如果您愿意,可以请使用 issue 模板重新创建 issue。
   
   如果你认为虽然没有使用模板,但你已经提供了复现问题的充分描述,或者你的问题无法使用模板表达,也可以重新 open 这个 issue。


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] echarts-robot[bot] closed issue #11207: 折线图数据显示有误,具体看图

2019-09-09 Thread GitBox
echarts-robot[bot] closed issue #11207: 折线图数据显示有误,具体看图
URL: https://github.com/apache/incubator-echarts/issues/11207
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[incubator-echarts] branch test-autorun updated (71abb01 -> c7e293c)

2019-09-09 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a change to branch test-autorun
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.


from 71abb01  chore: sync package.json and package-lock.json
 add c7e293c  test: add apache license in the test files.

No new revisions were added by this update.

Summary of changes:
 test/runTest/Timeline.js   | 19 +
 .../runTest/actions/dataZoom-rainfall-connect.json |  2 +-
 test/runTest/blacklist.js  | 24 +-
 test/runTest/cli.js| 21 -
 test/runTest/client/client.css | 21 -
 test/runTest/client/client.js  | 99 ++
 test/runTest/client/index.html | 49 +--
 test/runTest/compareScreenshot.js  | 19 +
 test/runTest/config.js | 19 +
 test/runTest/installMouseHelper.js | 73 
 test/runTest/recorder/index.html   | 19 +
 test/runTest/recorder/recorder.css | 19 +
 test/runTest/recorder/recorder.js  | 19 +
 test/runTest/runtime/main.js   | 98 -
 test/runTest/runtime/shim.js   | 19 +
 test/runTest/runtime/timer.js  | 19 +
 test/runTest/server.js | 19 +
 test/runTest/store.js  | 19 +
 test/runTest/util.js   | 19 +
 19 files changed, 473 insertions(+), 123 deletions(-)
 delete mode 100644 test/runTest/installMouseHelper.js


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] jesoonluo opened a new issue #11206: 数据长度>=3000时不能正常显示

2019-09-09 Thread GitBox
jesoonluo opened a new issue #11206: 数据长度>=3000时不能正常显示
URL: https://github.com/apache/incubator-echarts/issues/11206
 
 
   ### Version
   4.3.0-rc.2
   
   ### Reproduction link
   
[https://gallery.echartsjs.com/editor.html?c=x0_E3hkgpw=0](https://gallery.echartsjs.com/editor.html?c=x0_E3hkgpw=0)
   
   ### Steps to reproduce
   scatter series data 长度>=3000时,不能正常显示
   
   ### What is expected?
   能正常显示点图
   
   ### What is actually happening?
   不显示,或闪烁
   
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] echarts-robot[bot] commented on issue #11206: 数据长度>=3000时不能正常显示

2019-09-09 Thread GitBox
echarts-robot[bot] commented on issue #11206: 数据长度>=3000时不能正常显示
URL: 
https://github.com/apache/incubator-echarts/issues/11206#issuecomment-529754777
 
 
   Hi! We've received your issue and please be patient to get responded. 
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to 
demo your request**. You may also check out the 
[API](http://echarts.apache.org/api.html) and [chart 
option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent 
question to ask, you may also send an email to d...@echarts.apache.org .
   
   If you are interested in the project, you may also subscribe our [mail 
list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] lapDog opened a new issue #11205: Stack堆叠柱图在X轴对应多个柱状条的时候无法获取柱状索引

2019-09-09 Thread GitBox
lapDog opened a new issue #11205: Stack堆叠柱图在X轴对应多个柱状条的时候无法获取柱状索引
URL: https://github.com/apache/incubator-echarts/issues/11205
 
 
   ### Version
   4.2.1
   
   ### Steps to reproduce
   堆叠柱状图在X轴(维度)对应多个指标时候,在使用tooltip formmat回调的时候无法获取当前柱子的索引(无法匹配指标).相关数据及配置如下:
   
   var measureData = [
{
aggregatorName: "去重数",
field: "xx1",
fieldName: "平均处置时长",
unit:"小时"
},
{
aggregatorName: "去重数",
field: "xx2",
fieldName: "受理数",
unit:"件"
}
   ];
   
   var option = {
"tooltip": {
"trigger": "axis",
"axisPointer": {
"type": "shadow"
},
formatter: function (params) {
   var colorSpan = color => '';
   let rez = ''   params[0].axisValue   '';
   console.log(params); //quite useful for debug
   params.forEach(item => {
   
//TODO 我需要获取当前这个柱子在stack中的的索引
   
//just test but failed
   var seriesId = String(item.seriesId);
   var index = seriesId.trim().split(" ")[1];
   var measure = measureData[index];
   
   //console.log(item); //quite useful for debug
   var xx = '' colorSpan(item.color)   ' '   
measure.fieldName   '_'   item.seriesName   ': '   item.data   measure.unit   
''
   rez  = xx;
   });
   
   return rez;  
},
"legend": {
"type": "scroll",
"data": ["咨询", "投诉", "求决", "其他", "咨询", "投诉", "求决", "其他"]
},
"grid": {
"left": "3%",
"right": "4%",
"bottom": "3%",
"containLabel": true
},
"xAxis": [{
"type": "category",
"data": ["街道1", "街道2", "街道3", "街道4", "街道5", "街道6"]
}],
"yAxis": [{
"type": "value"
}],
"series": [{
"name": "咨询",
"type": "bar",
"stack": "平均处置时长",
"barMaxWidth": "30px",
"data": [2.0266, 0, 0, 0, 0, 0]
}, {
"name": "投诉",
"type": "bar",
"stack": "平均处置时长",
"barMaxWidth": "30px",
"data": [1.6674, 3.7226, 2.7217, 1.6684, 2.2107, 1.3616]
}, {
"name": "求决",
"type": "bar",
"stack": "平均处置时长",
"barMaxWidth": "30px",
"data": [0.8988, 0, 0, 0, 0, 0]
}, {
"name": "其他",
"type": "bar",
"stack": "平均处置时长",
"barMaxWidth": "30px",
"data": [0, 0, 0, 1.7018, 0, 0]
}, {
"name": "咨询",
"type": "bar",
"stack": "受理数",
"barMaxWidth": "30px",
"data": [5, 0, 0, 0, 0, 0]
}, {
"name": "投诉",
"type": "bar",
"stack": "受理数",
"barMaxWidth": "30px",
"data": [33, 31, 29, 22, 23, 8]
}, {
"name": "求决",
"type": "bar",
"stack": "受理数",
"barMaxWidth": "30px",
"data": [1, 0, 0, 0, 0, 0]
}, {
"name": "其他",
"type": "bar",
"stack": "受理数",
"barMaxWidth": "30px",
"data": [0, 0, 0, 2, 0, 0]
}]
   }
   
   ### What is expected?
   在tooltip formmat函数中获取params的所属柱子的索引
   
   ### What is actually happening?
   无法区别
   
   ---
   在多指标的情况,多个柱子无法区别当前柱子的索引,我看了官网文档及SO等并没有解决方案,希望给予支持。万分感谢。
   
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] echarts-robot[bot] commented on issue #11205: Stack堆叠柱图在X轴对应多个柱状条的时候无法获取柱状索引

2019-09-09 Thread GitBox
echarts-robot[bot] commented on issue #11205: Stack堆叠柱图在X轴对应多个柱状条的时候无法获取柱状索引
URL: 
https://github.com/apache/incubator-echarts/issues/11205#issuecomment-529752638
 
 
   Hi! We've received your issue and please be patient to get responded. 
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to 
demo your request**. You may also check out the 
[API](http://echarts.apache.org/api.html) and [chart 
option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent 
question to ask, you may also send an email to d...@echarts.apache.org .
   
   If you are interested in the project, you may also subscribe our [mail 
list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] pissang edited a comment on issue #11200: Bug11101

2019-09-09 Thread GitBox
pissang edited a comment on issue #11200: Bug11101
URL: 
https://github.com/apache/incubator-echarts/pull/11200#issuecomment-529749356
 
 
   Thanks @yufeng04 
   
   Can you describe what bug it is and explain the reason? 
   
   And please don't commit `package-lock.json` and generated `index.js`


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] pissang edited a comment on issue #11200: Bug11101

2019-09-09 Thread GitBox
pissang edited a comment on issue #11200: Bug11101
URL: 
https://github.com/apache/incubator-echarts/pull/11200#issuecomment-529749356
 
 
   Thanks @yufeng04 
   
   Please don't commit `package-lock.json`


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] pissang commented on issue #11200: Bug11101

2019-09-09 Thread GitBox
pissang commented on issue #11200: Bug11101
URL: 
https://github.com/apache/incubator-echarts/pull/11200#issuecomment-529749356
 
 
   Thanks @yufeng04 
   
   Please don't commit package-lock.json


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] pissang commented on issue #11201: Enhance visual regression test

2019-09-09 Thread GitBox
pissang commented on issue #11201: Enhance visual regression test 
URL: 
https://github.com/apache/incubator-echarts/pull/11201#issuecomment-529747728
 
 
   Thanks for your support! @chfw . 
   
   This testing framework is mainly built for running all the regression tests 
written  in HTML in the 
https://github.com/apache/incubator-echarts/tree/master/test automatically
   
   I will write a document about how to add a regression test and how to record 
the user interaction. Theoretically there is no limitation since it's a normal 
HTML page. But still there are some notice if this test needs to be friendly to 
this testing framework. 


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] ZhaoyangRao opened a new issue #11204: visualMap中的itemSymbol属性设置了也没用

2019-09-09 Thread GitBox
ZhaoyangRao opened a new issue #11204: visualMap中的itemSymbol属性设置了也没用
URL: https://github.com/apache/incubator-echarts/issues/11204
 
 
   
   
![1568083558(1)](https://user-images.githubusercontent.com/31274475/64580280-4feebd00-d3b8-11e9-849b-b312e0de4c41.png)
   ### Version
   4.3.0-rc.2
   
   ### Steps to reproduce
   visualMap: {
   type: 'piecewise',
   seriesIndex: [0],
   itemGap: 2,
   left: '30',
   bottom: '30',
   itemSymbol: 'circle',
   pieces: [{
   min: 10,
   label: '10亿以上'
   },
   {
   min: 5,
   max: 10,
   label: '5亿 到 10亿'
   },
   {
   min: 2,
   max: 5,
   label: '2亿 到 5亿'
   },
   {
   min: 1,
   max: 2,
   label: '1亿 到 2亿'
   },
   {
   max: 1,
   label: '一亿以下'
   }
   ],
   textStyle: {
   color: '#fff'
   },
   color: ['#e16cab', '#d2a05a', '#53caa3', '#29b7dc', '#6a7ce7']
   },
   
   这样进行设置的
   itemSymbol设置成任何图形都没有变化,永远是这个默认的图形
   
   ### What is expected?
   我期望能改icon
   
   ### What is actually happening?
   itemSymbol设置成任何图形都没有变化,永远是这个默认的图形
   
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] echarts-robot[bot] commented on issue #11204: visualMap中的itemSymbol属性设置了也没用

2019-09-09 Thread GitBox
echarts-robot[bot] commented on issue #11204: visualMap中的itemSymbol属性设置了也没用
URL: 
https://github.com/apache/incubator-echarts/issues/11204#issuecomment-529745472
 
 
   Hi! We've received your issue and please be patient to get responded. 
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to 
demo your request**. You may also check out the 
[API](http://echarts.apache.org/api.html) and [chart 
option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent 
question to ask, you may also send an email to d...@echarts.apache.org .
   
   If you are interested in the project, you may also subscribe our [mail 
list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] ZhaoyangRao opened a new issue #11203: visualMap中的itemSymbol属性设置了也没用

2019-09-09 Thread GitBox
ZhaoyangRao opened a new issue #11203: visualMap中的itemSymbol属性设置了也没用
URL: https://github.com/apache/incubator-echarts/issues/11203
 
 
visualMap: {
   type: 'piecewise',
   seriesIndex: [0],
   itemGap: 2,
   left: '30',
   bottom: '30',
   itemSymbol: 'circle',
   pieces: [{
   min: 10,
   label: '10亿以上'
   },
   {
   min: 5,
   max: 10,
   label: '5亿 到 10亿'
   },
   {
   min: 2,
   max: 5,
   label: '2亿 到 5亿'
   },
   {
   min: 1,
   max: 2,
   label: '1亿 到 2亿'
   },
   {
   max: 1,
   label: '一亿以下'
   }
   ],
   textStyle: {
   color: '#fff'
   },
   color: ['#e16cab', '#d2a05a', '#53caa3', '#29b7dc', 
'#6a7ce7']
   },
   
   这样进行设置的 
   itemSymbol设置成任何图形都没有变化,永远是这个默认的图形
   
![1568083061(1)](https://user-images.githubusercontent.com/31274475/64579898-136e9180-d3b7-11e9-9ecc-653979cc4e54.png)
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] echarts-robot[bot] commented on issue #11203: visualMap中的itemSymbol属性设置了也没用

2019-09-09 Thread GitBox
echarts-robot[bot] commented on issue #11203: visualMap中的itemSymbol属性设置了也没用
URL: 
https://github.com/apache/incubator-echarts/issues/11203#issuecomment-529743791
 
 
   This issue is not created using [issue 
template](https://ecomfe.github.io/echarts-issue-helper/) so I'm going to close 
it. 
   Sorry for this, but it helps save our maintainers' time so that more 
developers get helped.
   Feel free to create another issue using the issue template.
   
   If you think you have already made your point clear without the template, or 
your problem cannot be covered by it, you may re-open this issue again.
   
   这个 issue 未使用 [issue 
模板](https://ecomfe.github.io/echarts-issue-helper/?lang=zh-cn) 创建,所以我将关闭此 issue。
   为此带来的麻烦我深表歉意,但是请理解这是为了节约社区维护者的时间,以更高效地服务社区的开发者群体。
   如果您愿意,可以请使用 issue 模板重新创建 issue。
   
   如果你认为虽然没有使用模板,但你已经提供了复现问题的充分描述,或者你的问题无法使用模板表达,也可以重新 open 这个 issue。


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] echarts-robot[bot] closed issue #11203: visualMap中的itemSymbol属性设置了也没用

2019-09-09 Thread GitBox
echarts-robot[bot] closed issue #11203: visualMap中的itemSymbol属性设置了也没用
URL: https://github.com/apache/incubator-echarts/issues/11203
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] echarts-robot[bot] commented on issue #11202: 请问如何制作 Parallel - Nutrients 的图表

2019-09-09 Thread GitBox
echarts-robot[bot] commented on issue #11202: 请问如何制作 Parallel - Nutrients 的图表
URL: 
https://github.com/apache/incubator-echarts/issues/11202#issuecomment-529740911
 
 
   Hi! We've received your issue and please be patient to get responded. 
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to 
demo your request**. You may also check out the 
[API](http://echarts.apache.org/api.html) and [chart 
option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent 
question to ask, you may also send an email to d...@echarts.apache.org .
   
   If you are interested in the project, you may also subscribe our [mail 
list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] JJack77 opened a new issue #11202: 请问如何制作 Parallel - Nutrients 的图表

2019-09-09 Thread GitBox
JJack77 opened a new issue #11202: 请问如何制作 Parallel - Nutrients 的图表
URL: https://github.com/apache/incubator-echarts/issues/11202
 
 
   ### Version
   4.2.1
   
   ### Steps to reproduce
   请问如何制作 Parallel - Nutrients 的图表
   
   ### What is expected?
   想知道如何制作这图表
   ( 
https://echarts.apache.org/examples/zh/editor.html?c=parallel-nutrients=dark
 )
   
   ### What is actually happening?
   请问这API是否对制作这图表很重要 
https://api.map.baidu.com/api?v=2.0=xfhhaTThl11qYVrqLZii6w8qE5ggnhrY&__ec_v__=20190126
   
   因为我下载了你们的Example (source code 和 资料),改了资料的途径
   打开时 就会跳出 "百度未授权使用地图API" 
   所以我好奇这API对制作这图表是否很重要
   
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[incubator-echarts] branch test-autorun updated (18315ba -> 71abb01)

2019-09-09 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a change to branch test-autorun
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.


from 18315ba  Merge branch 'master' into test-autorun
 add 71abb01  chore: sync package.json and package-lock.json

No new revisions were added by this update.

Summary of changes:
 package-lock.json | 172 +++---
 package.json  |   1 -
 2 files changed, 99 insertions(+), 74 deletions(-)


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] chfw edited a comment on issue #11201: Enhance visual regression test

2019-09-09 Thread GitBox
chfw edited a comment on issue #11201: Enhance visual regression test 
URL: 
https://github.com/apache/incubator-echarts/pull/11201#issuecomment-529594537
 
 
   Congratulation! The biggest worry from my perspective is how Echarts do its 
regression tests. Manual regression tests are obviously out because it needs 
people all the time for releases. And the number of Echarts' feature is huge 
and is increasing every day!
   
   After viewing the changes, it seems you have written an UI regression test 
framework.  
   
   With that said, my question is: how could other contributors write the same 
regression tests? A bit more documentation is required, I think.
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] chfw commented on issue #11201: Enhance visual regression test

2019-09-09 Thread GitBox
chfw commented on issue #11201: Enhance visual regression test 
URL: 
https://github.com/apache/incubator-echarts/pull/11201#issuecomment-529594537
 
 
   Congratulation! The biggest worries from my perspective is how Echarts do 
its regression tests. Manual regression tests are obviously out because it 
needs people all the time for releases. And the number of Echarts' feature is 
huge and is increasing every day!
   
   After viewing the changes, it seems you have written an UI regression test 
framework.  
   
   With that said, my question is: how could other contributors write the same 
regression tests? A bit more documentation is required, I think.
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[incubator-echarts] branch test-autorun updated (1d9a29d -> 18315ba)

2019-09-09 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a change to branch test-autorun
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.


from 1d9a29d  test: optimize ui
 add 6587e32  update legend selector default option
 add d5b8035  doc: update email info in readme
 add a192214  fix wording coodToData to coordToData
 add e2e443c  Merge remote-tracking branch 'upstream/master'
 add ad58ca3  fix(tree): fix tree root disappear after pan and roam #10291 
#10986 #10164 #9580 #9256 #9216
 add af73cd6  Merge pull request #1 from deqingli/master
 add 99dd860  doc: update readme, adding debug instructions
 add dfb7f5d  doc: update readme
 add ff7e9eb  doc: update stale config
 add d0b4b12  doc: update pull request part
 add 8ec578c  doc: add difficulty in contributions doc
 add be816f7  doc: contribution description changes
 add 727b8fc  style: move eslint config file to src folder.
 add 63be6bf  doc: fix npm link instructions in contribution.md; fix #11138
 add 1ccd41b  docs(contribution): Add release milestone discussion
 add 4af1779  Add tool to run all tests automatically. (#11154)
 add 5661c6e  fix(svg): svg doesn't support addHover; fix #11054 (#11156)
 add 129c334  fix(effectSymol): fix to es3 code.
 add cc592c8  Merge remote-tracking branch 'upstream/master'
 add c646d44  fix(tree): fix root node disappear after roam in vertical 
orient and add roam test in the tree example
 add 55de79f  feat: support expansion animation for data update; fix #11029
 add ac7f2fd  Merge remote-tracking branch 'upstream/master'
 add e8a5b75  fix(tree): remove the excess para in the 
_updateViewCoordSys() function
 add b3a9782  Merge pull request #11192 from deqingli/master
 add 761de46  fix(custom series): the hover style should be always set but 
should not cache in hover state, otherwise the previous cache will be not reset 
and the previous hover style will remain; fix #11103.
 add 18315ba  Merge branch 'master' into test-autorun

No new revisions were added by this update.

Summary of changes:
 .github/CONTRIBUTING.md|  32 -
 .github/stale.yml  |   5 +-
 README.md  | 133 ---
 .eslintrc.yaml => extension-src/.eslintrc.yaml |   0
 .eslintrc.yaml => src/.eslintrc.yaml   |   0
 src/chart/custom.js|  16 +--
 src/chart/helper/EffectSymbol.js   |   2 +-
 src/chart/pie/PieSeries.js |   5 +-
 src/chart/pie/PieView.js   |  78 
 src/chart/sankey/sankeyAction.js   |   2 +-
 src/chart/tree/TreeSeries.js   |   4 +-
 src/chart/tree/TreeView.js |  16 ++-
 src/chart/tree/treeAction.js   |   1 -
 src/component/legend/LegendModel.js|   4 +-
 src/coord/radar/Radar.js   |   2 +-
 src/util/graphic.js|   8 +-
 test/hoverStyle.html   | 134 
 test/pie-animation.html| 169 +
 test/runTest/runtime/shim.js   |   9 ++
 test/tree-addNode.html |   8 +-
 test/tree-basic.html   |   3 +-
 test/tree-orient-right-left.html   |   6 +-
 test/tree-orient-top-bottom.html   |   2 +
 test/tree-radial.html  |   1 +
 test/tree-vertical.html|   2 +
 25 files changed, 468 insertions(+), 174 deletions(-)
 copy .eslintrc.yaml => extension-src/.eslintrc.yaml (100%)
 rename .eslintrc.yaml => src/.eslintrc.yaml (100%)
 create mode 100644 test/pie-animation.html
 create mode 100644 test/runTest/runtime/shim.js


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] pissang opened a new pull request #11201: Enhance visual regression test

2019-09-09 Thread GitBox
pissang opened a new pull request #11201: Enhance visual regression test 
URL: https://github.com/apache/incubator-echarts/pull/11201
 
 
   This is a pull request about enhance the visual regression test in 
https://github.com/apache/incubator-echarts/pull/11154
   
   ## Added features
   
   ### Recording UI interactions and replay when running tests
   
   Interactions include:
   + Mouse down/move/up
   + Select
   + Manual screenshot
   
   Interaction still needs to be done:
   + Mouse wheel
   Mouse wheel is used frequently in the zoom operation. But I can't find a 
good way in puppeteer to simulate mouse wheel.
   + Text input
   Text input is rarely uses in echarts tests.
   
   And I created a page to record the interactions.
   
   
![recorder](https://user-images.githubusercontent.com/841551/64552730-6e2dcc00-d36a-11e9-840e-c49ca7979a2c.jpg)
   
   I will write more about how to use this tool in the wiki. Currently I have 
done all the recording on the tests related to user interaction.
   
   ### Multithread
   
   Now it can be up 4x times faster when having 8 threads running all the tests 
rather than 1.
   
   ### Mock date.
   Date now are mocked to speed up the animation.
   
   ### UI improvement
   
   ## Still some TODOs
   
   + Still there some tests related to the `timer` are not running 
consistently. Like tests with data streaming, effectScatter, `setInteraval` 
update, etc.
   + Screenshots in puppeteer may cause tooltip disappear. Can't find the 
reason yet.
   + Record mouse wheel events.
   
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[incubator-echarts] branch test-autorun updated: test: optimize ui

2019-09-09 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch test-autorun
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git


The following commit(s) were added to refs/heads/test-autorun by this push:
 new 1d9a29d  test: optimize ui
1d9a29d is described below

commit 1d9a29d6fc2a86ac4c4f490ae14897c1dd0b2910
Author: pissang 
AuthorDate: Tue Sep 10 01:14:31 2019 +0800

test: optimize ui
---
 test/lib/testHelper.js | 18 --
 test/runTest/actions/connect-manually.json |  2 +-
 test/runTest/client/client.css |  4 
 test/runTest/client/index.html | 17 +
 test/runTest/server.js |  1 +
 test/runTest/store.js  |  4 ++--
 6 files changed, 37 insertions(+), 9 deletions(-)

diff --git a/test/lib/testHelper.js b/test/lib/testHelper.js
index 7139b70..4e02abe 100644
--- a/test/lib/testHelper.js
+++ b/test/lib/testHelper.js
@@ -251,10 +251,24 @@
 
 
 testHelper.resizable = function (chart) {
+let dom = chart.getDom();
+let width = dom.clientWidth;
+let height = dom.clientHeight;
+function resize() {
+let newWidth = dom.clientWidth;
+let newHeight = dom.clientHeight;
+if (width !== newWidth || height !== newHeight) {
+chart.resize();
+width = newWidth;
+height = newHeight;
+}
+}
 if (window.attachEvent) {
+// Use builtin resize in IE
 window.attachEvent('onresize', chart.resize);
-} else if (window.addEventListener) {
-window.addEventListener('resize', chart.resize, false);
+}
+else if (window.addEventListener) {
+window.addEventListener('resize', resize, false);
 }
 };
 
diff --git a/test/runTest/actions/connect-manually.json 
b/test/runTest/actions/connect-manually.json
index a153071..c247c30 100644
--- a/test/runTest/actions/connect-manually.json
+++ b/test/runTest/actions/connect-manually.json
@@ -1 +1 @@
-[{"name":"Action 
1","ops":[{"type":"screenshot","time":678},{"type":"mousemove","time":1014,"x":172,"y":191},{"type":"mousemove","time":1215,"x":274,"y":193},{"type":"mousemove","time":1470,"x":274,"y":193},{"type":"screenshot","time":2279},{"type":"mousemove","time":2381,"x":276,"y":192},{"type":"mousemove","time":2582,"x":318,"y":190},{"type":"mousemove","time":2782,"x":324,"y":190},{"type":"screenshot","time":3418},{"type":"mousemove","time":3488,"x":343,"y":190},{"type":"mousemove","
 [...]
\ No newline at end of file
+[{"name":"Action 
1","ops":[{"type":"mousemove","time":684,"x":176,"y":189},{"type":"mousemove","time":897,"x":193,"y":190},{"type":"screenshot","time":1559},{"type":"mousemove","time":2386,"x":194,"y":190},{"type":"mousemove","time":2587,"x":260,"y":195},{"type":"mousemove","time":2793,"x":318,"y":198},{"type":"mousemove","time":3008,"x":459,"y":198},{"type":"mousemove","time":3217,"x":460,"y":198},{"type":"mousemove","time":4472,"x":465,"y":198},{"type":"mousemove","time":4672,"x":590,"
 [...]
\ No newline at end of file
diff --git a/test/runTest/client/client.css b/test/runTest/client/client.css
index 489aab3..46898b7 100644
--- a/test/runTest/client/client.css
+++ b/test/runTest/client/client.css
@@ -112,6 +112,10 @@
 font-size: 12px!important;
 }
 
+.test-result .el-progress__text {
+font-size: 14px!important;
+}
+
 .test-result h3 {
 font-size: 40px;
 font-weight: 200;
diff --git a/test/runTest/client/index.html b/test/runTest/client/index.html
index abc67de..4e3f020 100644
--- a/test/runTest/client/index.html
+++ b/test/runTest/client/index.html
@@ -86,6 +86,15 @@
 
 
 
+
 {{currentTest.name}}
 
 
@@ -98,7 +107,7 @@
 
 
 
-{{result.desc || result.name}}
+{{result.desc 
|| result.name}}
 
 
 
@@ -106,7 +115,7 @@
 
 Expected
 
-
+
 
 
 
@@ -115,7 +124,7 @@
 
 Actual
 
-
+
 
 
 
@@ -124,7 +133,7 @@
 
 
Diff({{result.diffRatio.toFixed(4)}})
 

[GitHub] [incubator-echarts] yufeng04 opened a new pull request #11200: Bug11101

2019-09-09 Thread GitBox
yufeng04 opened a new pull request #11200: Bug11101
URL: https://github.com/apache/incubator-echarts/pull/11200
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] yufeng04 opened a new pull request #11199: fix bug #11049

2019-09-09 Thread GitBox
yufeng04 opened a new pull request #11199: fix bug #11049
URL: https://github.com/apache/incubator-echarts/pull/11199
 
 
   The toolbox has been updated when using the dataZoom in dynamic added 
toolbox, but the `dataZoom` hasn't been updated.
   
![image](https://user-images.githubusercontent.com/22974511/64550103-b8ac4a00-d364-11e9-994b-9ffb6b2e04c0.png)
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[incubator-echarts] branch test-autorun updated: test: add more recorded test actions. tweak some tests

2019-09-09 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch test-autorun
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git


The following commit(s) were added to refs/heads/test-autorun by this push:
 new 1c3cbd4  test: add more recorded test actions. tweak some tests
1c3cbd4 is described below

commit 1c3cbd4c2b18ebc383ae56f201f1c0e9ca91b7e7
Author: pissang 
AuthorDate: Tue Sep 10 00:13:19 2019 +0800

test: add more recorded test actions. tweak some tests
---
 test/dataZoom-action.html  |  10 +-
 test/dataZoom-scatter-hv-polar.html|   2 +-
 test/dataZoom-scatter-hv.html  |   1 +
 test/getOption.html|   4 +-
 test/line-animation.html   |   2 +-
 test/runTest/actions/__meta__.json |  89 +-
 test/runTest/actions/connect.json  |   1 +
 test/runTest/actions/connect2.json |   1 +
 test/runTest/actions/css-transform.json|   1 +
 test/runTest/actions/custom-children-remove.json   |   1 +
 test/runTest/actions/custom-hexbin.json|   1 +
 test/runTest/actions/custom.json   |   1 +
 test/runTest/actions/dataZoom-action.json  |   1 +
 test/runTest/actions/dataZoom-axes.json|   1 +
 test/runTest/actions/dataZoom-axis-type.json   |   1 +
 test/runTest/actions/dataZoom-clip.json|   1 +
 test/runTest/actions/dataZoom-extreme.json |   1 +
 .../runTest/actions/dataZoom-rainfall-connect.json |   1 +
 test/runTest/actions/dataZoom-rainfall-inside.json |   1 +
 test/runTest/actions/dataZoom-rainfall.json|   1 +
 .../runTest/actions/dataZoom-scatter-category.json |   1 +
 .../runTest/actions/dataZoom-scatter-hv-polar.json |   1 +
 test/runTest/actions/dataZoom-scatter-hv.json  |   1 +
 test/runTest/actions/dataZoom-sync.json|   1 +
 test/runTest/actions/dataZoom-toolbox.json |   1 +
 test/runTest/actions/dataZoomHighPrecision.json|   1 +
 test/runTest/actions/dynamic-splitNumber.json  |   1 +
 test/runTest/actions/ec-event.json | 192 +
 test/runTest/actions/funnel.json   |   1 +
 test/runTest/actions/geo-map.json  |   1 +
 test/runTest/actions/geoScatter.json   |   1 +
 test/runTest/actions/getOption.json|   1 +
 test/runTest/actions/graph-grid.json   |   1 +
 test/runTest/actions/graph-simple.json |   1 +
 test/runTest/actions/graph.json|   1 +
 test/runTest/actions/heatmap-map.json  |   1 +
 test/runTest/actions/heatmap.json  |   1 +
 test/runTest/actions/homepage3.json|   1 +
 test/runTest/actions/hoverStyle.json   |   1 +
 test/runTest/actions/label-position.json   |   1 +
 test/runTest/actions/largeLine-tooltip.json|   1 +
 test/runTest/actions/legend.json   |   1 +
 test/runTest/actions/line-animation.json   |   1 +
 test/runTest/actions/map-parallel.json |   2 +-
 test/runTest/actions/map-province.json |   1 +
 test/runTest/actions/map.json  |   2 +-
 test/runTest/actions/mapWorld.json |   1 +
 test/runTest/actions/markArea.json |   1 +
 test/runTest/actions/media-dataZoom.json   |   1 +
 test/runTest/actions/media-finance.json|   1 +
 test/runTest/actions/media-pie.json|   1 +
 test/runTest/actions/min-max-function.json |   1 +
 test/runTest/actions/parallel-aqi.json |   1 +
 test/runTest/actions/parallel-nutrients.json   |   1 +
 test/runTest/actions/pictorial-repeat.json |   1 +
 test/runTest/actions/pie-action.json   |   1 +
 test/runTest/actions/pie-calculable.json   |   1 +
 test/runTest/actions/pie.json  |   1 +
 test/runTest/actions/polarLine.json|   1 +
 test/runTest/actions/polarScatter.json |   1 +
 test/runTest/actions/radar.json|   1 +
 test/runTest/actions/radar2.json   |   1 +
 test/runTest/actions/radar3.json   |   1 +
 test/runTest/actions/radar4.json   |   1 +
 test/runTest/actions/sankey-depth.json |   1 +
 test/runTest/actions/sankey-jump.json  |   1 +
 test/runTest/actions/sankey-level.json |   1 +
 .../actions/scatter-random-stream-fix-axis.json|   1 +
 test/runTest/actions/scatter-single-axis.json  |   1 +
 test/runTest/actions/scatterMatrix.json|   1 +
 test/runTest/actions/sunburst-book.json|   1 +
 test/runTest/actions/sunburst-canvas.json  |   1 +
 test/runTest/actions/symbol2.json  |   1 +
 test/runTest/actions/themeRiver.json 

[incubator-echarts] branch master updated: fix(custom series): the hover style should be always set but should not cache in hover state, otherwise the previous cache will be not reset and the previous

2019-09-09 Thread sushuang
This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git


The following commit(s) were added to refs/heads/master by this push:
 new 761de46  fix(custom series): the hover style should be always set but 
should not cache in hover state, otherwise the previous cache will be not reset 
and the previous hover style will remain; fix #11103.
761de46 is described below

commit 761de46f80a7999554990bd99953d7374b573396
Author: sushuang 
AuthorDate: Mon Sep 9 22:15:41 2019 +0800

fix(custom series): the hover style should be always set but should not 
cache in hover state, otherwise the previous cache will be not reset and the 
previous hover style will remain; fix #11103.
---
 src/chart/custom.js  |  16 ++
 test/hoverStyle.html | 134 +++
 2 files changed, 138 insertions(+), 12 deletions(-)

diff --git a/src/chart/custom.js b/src/chart/custom.js
index 453af47..a48f187 100644
--- a/src/chart/custom.js
+++ b/src/chart/custom.js
@@ -318,19 +318,11 @@ function updateEl(el, dataIndex, elOption, 
animatableModel, data, isInit, isRoot
 // If `elOption.styleEmphasis` is `false`, remove hover style. The
 // logic is ensured by `graphicUtil.setElementHoverStyle`.
 var styleEmphasis = elOption.styleEmphasis;
-var disableStyleEmphasis = styleEmphasis === false;
-if (!(
-// Try to escapse setting hover style for performance.
-(el.__cusHasEmphStl && styleEmphasis == null)
-|| (!el.__cusHasEmphStl && disableStyleEmphasis)
-)) {
-// Should not use graphicUtil.setHoverStyle, since the styleEmphasis
-// should not be share by group and its descendants.
-graphicUtil.setElementHoverStyle(el, styleEmphasis);
-el.__cusHasEmphStl = !disableStyleEmphasis;
-}
+// hoverStyle should always be set here, because if the hover style
+// may already be changed, where the inner cache should be reset.
+graphicUtil.setElementHoverStyle(el, styleEmphasis);
 if (isRoot) {
-graphicUtil.setAsHighDownDispatcher(el, !disableStyleEmphasis);
+graphicUtil.setAsHighDownDispatcher(el, styleEmphasis !== false);
 }
 }
 
diff --git a/test/hoverStyle.html b/test/hoverStyle.html
index 807aa40..e5bf376 100644
--- a/test/hoverStyle.html
+++ b/test/hoverStyle.html
@@ -54,6 +54,9 @@ under the License.
 
 
 
+
+
+
 
 
 
@@ -156,6 +159,137 @@ under the License.
 require(['echarts'], function (echarts) {
 var option = {
 hoverLayerThreshold: hoverLayerThreshold,
+backgroundColor: '#eee',
+animation: false,
+grid: {left: 400, top: 50},
+xAxis: {},
+yAxis: {},
+visualMap: {
+type: 'piecewise',
+orient: 'horizontal',
+top: 10,
+left: 0,
+pieces: [
+{min: 1000, color: 'red'},
+{min: 600, max: 1000, color: 'blue'},
+{min: 0, max: 600, color: 'green'}
+],
+outOfRange: {
+color: '#aaa'
+}
+},
+series: [{
+type: 'custom',
+coordinateSystem: 'none',
+renderItem: function (params, api) {
+var pos = [api.value(0), api.value(1)];
+return {
+type: 'circle',
+shape: {cx: pos[0], cy: pos[1], r: 20},
+style: api.style({lineWidth: 1, stroke: 
'#777'})
+};
+},
+data: [
+[100, 100, 0],
+[200, 100, 800],
+[300, 100, 1500]
+]
+}, {
+type: 'scatter',
+symbolSize: 20,
+data: [
+[100, 100, 0],
+[200, 100, 800],
+[300, 100, 1500]
+]
+}]
+};
+
+var chart = testHelper.create(echarts, 'maina1', {
+title: [
+'`visualMap.hoverLink` is the by default (`true`)',
+'**Click** a visualMap item, and then **mouseout**. 
The hover style of the circles should be OK.'
+],
+option: option,
+  

[incubator-echarts] branch fix/hover-style deleted (was fd780b7)

2019-09-09 Thread sushuang
This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a change to branch fix/hover-style
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.


 was fd780b7  fix(custom series): the hover style should be always set but 
should not cache in hover state, otherwise the previous cache will be not reset 
and the previous hover style will remain; fix #11103.

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] 100pah merged pull request #11198: fix(custom series): fix #11103

2019-09-09 Thread GitBox
100pah merged pull request #11198: fix(custom series): fix #11103
URL: https://github.com/apache/incubator-echarts/pull/11198
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] hanwenbo commented on issue #11169: surface不显示

2019-09-09 Thread GitBox
hanwenbo commented on issue #11169: surface不显示
URL: 
https://github.com/apache/incubator-echarts/issues/11169#issuecomment-529497249
 
 
   Someone in?


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] 100pah opened a new pull request #11198: fix(custom series): fix #11103

2019-09-09 Thread GitBox
100pah opened a new pull request #11198: fix(custom series): fix #11103
URL: https://github.com/apache/incubator-echarts/pull/11198
 
 
   fix(custom series): the hover style should be always set but should not 
cache in hover state, otherwise the previous cache will be not reset and the 
previous hover style will remain; fix #11103.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[incubator-echarts] branch fix/hover-style created (now fd780b7)

2019-09-09 Thread sushuang
This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a change to branch fix/hover-style
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.


  at fd780b7  fix(custom series): the hover style should be always set but 
should not cache in hover state, otherwise the previous cache will be not reset 
and the previous hover style will remain; fix #11103.

This branch includes the following new commits:

 new fd780b7  fix(custom series): the hover style should be always set but 
should not cache in hover state, otherwise the previous cache will be not reset 
and the previous hover style will remain; fix #11103.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[incubator-echarts] 01/01: fix(custom series): the hover style should be always set but should not cache in hover state, otherwise the previous cache will be not reset and the previous hover style wil

2019-09-09 Thread sushuang
This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a commit to branch fix/hover-style
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git

commit fd780b790e1894d5b181f54d4eec9fedd9009336
Author: sushuang 
AuthorDate: Mon Sep 9 22:15:41 2019 +0800

fix(custom series): the hover style should be always set but should not 
cache in hover state, otherwise the previous cache will be not reset and the 
previous hover style will remain; fix #11103.
---
 src/chart/custom.js  |  16 ++
 test/hoverStyle.html | 134 +++
 2 files changed, 138 insertions(+), 12 deletions(-)

diff --git a/src/chart/custom.js b/src/chart/custom.js
index 453af47..a48f187 100644
--- a/src/chart/custom.js
+++ b/src/chart/custom.js
@@ -318,19 +318,11 @@ function updateEl(el, dataIndex, elOption, 
animatableModel, data, isInit, isRoot
 // If `elOption.styleEmphasis` is `false`, remove hover style. The
 // logic is ensured by `graphicUtil.setElementHoverStyle`.
 var styleEmphasis = elOption.styleEmphasis;
-var disableStyleEmphasis = styleEmphasis === false;
-if (!(
-// Try to escapse setting hover style for performance.
-(el.__cusHasEmphStl && styleEmphasis == null)
-|| (!el.__cusHasEmphStl && disableStyleEmphasis)
-)) {
-// Should not use graphicUtil.setHoverStyle, since the styleEmphasis
-// should not be share by group and its descendants.
-graphicUtil.setElementHoverStyle(el, styleEmphasis);
-el.__cusHasEmphStl = !disableStyleEmphasis;
-}
+// hoverStyle should always be set here, because if the hover style
+// may already be changed, where the inner cache should be reset.
+graphicUtil.setElementHoverStyle(el, styleEmphasis);
 if (isRoot) {
-graphicUtil.setAsHighDownDispatcher(el, !disableStyleEmphasis);
+graphicUtil.setAsHighDownDispatcher(el, styleEmphasis !== false);
 }
 }
 
diff --git a/test/hoverStyle.html b/test/hoverStyle.html
index 807aa40..e5bf376 100644
--- a/test/hoverStyle.html
+++ b/test/hoverStyle.html
@@ -54,6 +54,9 @@ under the License.
 
 
 
+
+
+
 
 
 
@@ -156,6 +159,137 @@ under the License.
 require(['echarts'], function (echarts) {
 var option = {
 hoverLayerThreshold: hoverLayerThreshold,
+backgroundColor: '#eee',
+animation: false,
+grid: {left: 400, top: 50},
+xAxis: {},
+yAxis: {},
+visualMap: {
+type: 'piecewise',
+orient: 'horizontal',
+top: 10,
+left: 0,
+pieces: [
+{min: 1000, color: 'red'},
+{min: 600, max: 1000, color: 'blue'},
+{min: 0, max: 600, color: 'green'}
+],
+outOfRange: {
+color: '#aaa'
+}
+},
+series: [{
+type: 'custom',
+coordinateSystem: 'none',
+renderItem: function (params, api) {
+var pos = [api.value(0), api.value(1)];
+return {
+type: 'circle',
+shape: {cx: pos[0], cy: pos[1], r: 20},
+style: api.style({lineWidth: 1, stroke: 
'#777'})
+};
+},
+data: [
+[100, 100, 0],
+[200, 100, 800],
+[300, 100, 1500]
+]
+}, {
+type: 'scatter',
+symbolSize: 20,
+data: [
+[100, 100, 0],
+[200, 100, 800],
+[300, 100, 1500]
+]
+}]
+};
+
+var chart = testHelper.create(echarts, 'maina1', {
+title: [
+'`visualMap.hoverLink` is the by default (`true`)',
+'**Click** a visualMap item, and then **mouseout**. 
The hover style of the circles should be OK.'
+],
+option: option,
+height: 200
+});
+});
+
+
+
+
+
+require(['echarts'], function (echarts) {
+var option = {
+hoverLayerThreshold: hoverLayerThreshold,
+backgroundColor: '#eee',
+

[GitHub] [incubator-echarts] echarts-robot[bot] commented on issue #11197: 开源协议相关问题

2019-09-09 Thread GitBox
echarts-robot[bot] commented on issue #11197: 开源协议相关问题
URL: 
https://github.com/apache/incubator-echarts/issues/11197#issuecomment-529477331
 
 
   Hi! We've received your issue and please be patient to get responded. 
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to 
demo your request**. You may also check out the 
[API](http://echarts.apache.org/api.html) and [chart 
option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent 
question to ask, you may also send an email to d...@echarts.apache.org .
   
   If you are interested in the project, you may also subscribe our [mail 
list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] baizhenzheng opened a new issue #11197: 开源协议相关问题

2019-09-09 Thread GitBox
baizhenzheng opened a new issue #11197: 开源协议相关问题
URL: https://github.com/apache/incubator-echarts/issues/11197
 
 
   ### What problem does this feature solve?
   您好,如果我们公司使用 echarts的开源产品去开发产品,做出来的产品需要开源吗?另外在使用
echart的时候在开源协议需要哪些注意事项?
   顺祝万事如意
   
   ### What does the proposed API look like?
   开源协议
   
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] echarts-robot[bot] closed issue #11196: 开源协议相关问题

2019-09-09 Thread GitBox
echarts-robot[bot] closed issue #11196: 开源协议相关问题
URL: https://github.com/apache/incubator-echarts/issues/11196
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] echarts-robot[bot] commented on issue #11196: 开源协议相关问题

2019-09-09 Thread GitBox
echarts-robot[bot] commented on issue #11196: 开源协议相关问题
URL: 
https://github.com/apache/incubator-echarts/issues/11196#issuecomment-529475502
 
 
   This issue is not created using [issue 
template](https://ecomfe.github.io/echarts-issue-helper/) so I'm going to close 
it. 
   Sorry for this, but it helps save our maintainers' time so that more 
developers get helped.
   Feel free to create another issue using the issue template.
   
   If you think you have already made your point clear without the template, or 
your problem cannot be covered by it, you may re-open this issue again.
   
   这个 issue 未使用 [issue 
模板](https://ecomfe.github.io/echarts-issue-helper/?lang=zh-cn) 创建,所以我将关闭此 issue。
   为此带来的麻烦我深表歉意,但是请理解这是为了节约社区维护者的时间,以更高效地服务社区的开发者群体。
   如果您愿意,可以请使用 issue 模板重新创建 issue。
   
   如果你认为虽然没有使用模板,但你已经提供了复现问题的充分描述,或者你的问题无法使用模板表达,也可以重新 open 这个 issue。


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] baizhenzheng opened a new issue #11195: 开源协议

2019-09-09 Thread GitBox
baizhenzheng opened a new issue #11195: 开源协议
URL: https://github.com/apache/incubator-echarts/issues/11195
 
 
   您好,如果我们公司使用 echarts的开源产品去开发产品,做出来的产品需要开源吗?另外在使用
echart的时候在开源协议需要哪些注意事项?
   顺祝万事如意
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] echarts-robot[bot] commented on issue #11195: 开源协议

2019-09-09 Thread GitBox
echarts-robot[bot] commented on issue #11195: 开源协议
URL: 
https://github.com/apache/incubator-echarts/issues/11195#issuecomment-529474881
 
 
   This issue is not created using [issue 
template](https://ecomfe.github.io/echarts-issue-helper/) so I'm going to close 
it. 
   Sorry for this, but it helps save our maintainers' time so that more 
developers get helped.
   Feel free to create another issue using the issue template.
   
   If you think you have already made your point clear without the template, or 
your problem cannot be covered by it, you may re-open this issue again.
   
   这个 issue 未使用 [issue 
模板](https://ecomfe.github.io/echarts-issue-helper/?lang=zh-cn) 创建,所以我将关闭此 issue。
   为此带来的麻烦我深表歉意,但是请理解这是为了节约社区维护者的时间,以更高效地服务社区的开发者群体。
   如果您愿意,可以请使用 issue 模板重新创建 issue。
   
   如果你认为虽然没有使用模板,但你已经提供了复现问题的充分描述,或者你的问题无法使用模板表达,也可以重新 open 这个 issue。


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[incubator-echarts] branch test-autorun updated: test: upload part of action records files.

2019-09-09 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch test-autorun
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git


The following commit(s) were added to refs/heads/test-autorun by this push:
 new b029d5f  test: upload part of action records files.
b029d5f is described below

commit b029d5fc5affb8a24ecaa8e2efa10f9a0cf39475
Author: pissang 
AuthorDate: Mon Sep 9 20:12:58 2019 +0800

test: upload part of action records files.
---
 test/runTest/actions/__meta__.json | 46 ++
 test/runTest/actions/allZero.json  |  1 +
 test/runTest/actions/appendData.json   |  1 +
 test/runTest/actions/area-large.json   |  1 +
 test/runTest/actions/area-stack.json   |  1 +
 test/runTest/actions/area2.json|  1 +
 test/runTest/actions/aria-line-bar.json|  1 +
 test/runTest/actions/aria-pie.json |  1 +
 test/runTest/actions/axis-boundaryGap.json |  1 +
 test/runTest/actions/axis-lastLabel.json   |  1 +
 test/runTest/actions/axis-multiple.json|  1 +
 test/runTest/actions/axis-style.json   |  1 +
 test/runTest/actions/axis.json |  1 +
 test/runTest/actions/axisPosition.json |  1 +
 test/runTest/actions/bar-label-rotation.json   |  1 +
 test/runTest/actions/bar-large.json|  1 +
 test/runTest/actions/bar-overflow-time-plot.json   |  1 +
 .../actions/bar-polar-multi-series-radial.json |  1 +
 test/runTest/actions/bar-polar-multi-series.json   |  1 +
 .../actions/bar-polar-null-data-radial.json|  1 +
 test/runTest/actions/bar-polar-stack.json  |  1 +
 test/runTest/actions/bar-stack.json|  1 +
 test/runTest/actions/bar-start.json|  1 +
 test/runTest/actions/bar.json  |  1 +
 test/runTest/actions/bar3.json |  1 +
 test/runTest/actions/bmap.json |  1 +
 test/runTest/actions/boxplot-multi.json|  1 +
 test/runTest/actions/boxplot.json  |  1 +
 test/runTest/actions/brush.json|  1 +
 test/runTest/actions/brush2.json   |  1 +
 test/runTest/actions/brush3.json   |  1 +
 test/runTest/actions/calendar-converter.json   |  1 +
 test/runTest/actions/calendar-heatmap.json |  1 +
 test/runTest/actions/calendar-month.json   |  1 +
 test/runTest/actions/candlestick-empty.json|  1 +
 test/runTest/actions/candlestick-large.json|  1 +
 test/runTest/actions/candlestick-large2.json   |  1 +
 test/runTest/actions/candlestick.json  |  1 +
 test/runTest/actions/candlestickConnect.json   |  1 +
 test/runTest/actions/color-mix-aqi.json|  1 +
 test/runTest/actions/connect-dynamic.json  |  1 +
 test/runTest/actions/connect-manually.json |  1 +
 test/runTest/actions/map-parallel.json |  1 +
 test/runTest/actions/map.json  |  1 +
 test/runTest/actions/treemap-disk.json |  1 +
 45 files changed, 90 insertions(+)

diff --git a/test/runTest/actions/__meta__.json 
b/test/runTest/actions/__meta__.json
new file mode 100644
index 000..0203ab8
--- /dev/null
+++ b/test/runTest/actions/__meta__.json
@@ -0,0 +1,46 @@
+{
+  "allZero": 1,
+  "appendData": 4,
+  "area-large": 1,
+  "area-stack": 2,
+  "area2": 1,
+  "aria-line-bar": 1,
+  "aria-pie": 1,
+  "axis-boundaryGap": 1,
+  "axis-lastLabel": 5,
+  "axis-multiple": 1,
+  "axis-style": 2,
+  "map-parallel": 1,
+  "map": 1,
+  "treemap-disk": 2,
+  "axis": 1,
+  "axisPosition": 2,
+  "bar-label-rotation": 2,
+  "bar-large": 2,
+  "bar-overflow-time-plot": 3,
+  "bar-polar-multi-series-radial": 1,
+  "bar-polar-multi-series": 1,
+  "bar-polar-null-data-radial": 1,
+  "bar-polar-stack": 1,
+  "bar-stack": 1,
+  "bar-start": 1,
+  "bar": 2,
+  "bar3": 1,
+  "bmap": 1,
+  "boxplot-multi": 1,
+  "boxplot": 1,
+  "brush": 7,
+  "brush2": 3,
+  "brush3": 2,
+  "calendar-converter": 1,
+  "calendar-heatmap": 1,
+  "calendar-month": 2,
+  "candlestick-empty": 1,
+  "candlestick-large": 4,
+  "candlestick-large2": 1,
+  "candlestick": 2,
+  "candlestickConnect": 4,
+  "color-mix-aqi": 1,
+  "connect-dynamic": 2,
+  "connect-manually": 1
+}
\ No newline at end of file
diff --git a/test/runTest/actions/allZero.json 
b/test/runTest/actions/allZero.json
new file mode 100644
index 000..3d6974c
--- /dev/null
+++ b/test/runTest/actions/allZero.json
@@ -0,0 +1 @@
+[{"name":"Action 

[incubator-echarts] branch test-autorun updated: test: add select change event. fix page size issue caused by scrollbar. fix some html cases.

2019-09-09 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch test-autorun
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git


The following commit(s) were added to refs/heads/test-autorun by this push:
 new a7c84f7  test: add select change event. fix page size issue caused by 
scrollbar. fix some html cases.
a7c84f7 is described below

commit a7c84f74e7e56ca4000fae0ed58c59916725fbed
Author: pissang 
AuthorDate: Mon Sep 9 19:41:56 2019 +0800

test: add select change event. fix page size issue caused by scrollbar. fix 
some html cases.

vertical scroll bar may lead to chart container width less than 800. And 
it's not same in the iframe and puppeteer enviroment. It may cause recorded 
interaction can't replay correctly.
---
 test/bar-label-rotation.html   |   2 +-
 test/lib/config.js |  11 
 test/runTest/Timeline.js   |   5 ++
 test/runTest/actions/update.js |  14 +
 test/runTest/cli.js|   5 +-
 test/runTest/client/index.html |   6 +-
 test/runTest/installMouseHelper.js |  73 
 test/runTest/recorder/index.html   |   4 +-
 test/runTest/recorder/recorder.js  | 114 ++---
 test/runTest/runtime/main.js   |   3 +-
 test/runTest/server.js |   8 ++-
 test/runTest/store.js  |  34 +++
 12 files changed, 238 insertions(+), 41 deletions(-)

diff --git a/test/bar-label-rotation.html b/test/bar-label-rotation.html
index 0a75321..01e78c2 100644
--- a/test/bar-label-rotation.html
+++ b/test/bar-label-rotation.html
@@ -33,7 +33,7 @@ under the License.
 margin: 0;
 }
 #main {
-width: 1000px;
+width: 100%;
 background: #fff;
 }
 
diff --git a/test/lib/config.js b/test/lib/config.js
index 58ec69e..5409c4a 100644
--- a/test/lib/config.js
+++ b/test/lib/config.js
@@ -77,6 +77,17 @@
 });
 }
 
+// Not let scrollbar affect page size.
+// It will AFFECT interaction in the automatic testing.
+// TODO it only works on webkit
+var styleEl = document.createElement('style');
+document.head.appendChild(styleEl);
+styleEl.innerHTML = `
+body {
+overflow: overlay!important;
+}
+`;
+
 // It is not a good solution.
 // Do not need it any more:
 
diff --git a/test/runTest/Timeline.js b/test/runTest/Timeline.js
index 1882c42..e2ef925 100644
--- a/test/runTest/Timeline.js
+++ b/test/runTest/Timeline.js
@@ -92,6 +92,11 @@ module.exports = class Timeline {
 case 'screenshot':
 await takeScreenshot();
 break;
+case 'valuechange':
+if (op.target === 'select') {
+await page.select(op.selector, op.value);
+}
+break;
 }
 
 this._currentOpIndex++;
diff --git a/test/runTest/actions/update.js b/test/runTest/actions/update.js
new file mode 100644
index 000..3a65ed4
--- /dev/null
+++ b/test/runTest/actions/update.js
@@ -0,0 +1,14 @@
+const glob = require('glob');
+const fs = require('fs');
+
+const result = {};
+glob('*.json', (err, files) => {
+files.forEach(file => {
+if (file.match('__meta__')) {
+return;
+}
+const actions = JSON.parse(fs.readFileSync(file, 'utf-8'));
+result[file.replace(/.json$/, '')] = actions.length;
+});
+fs.writeFileSync('__meta__.json', JSON.stringify(result, null, 2), 
'utf-8');
+});
\ No newline at end of file
diff --git a/test/runTest/cli.js b/test/runTest/cli.js
index 689d41f..436a879 100644
--- a/test/runTest/cli.js
+++ b/test/runTest/cli.js
@@ -5,6 +5,7 @@ const fs = require('fs');
 const path = require('path');
 const program = require('commander');
 const compareScreenshot = require('./compareScreenshot');
+const {installMouseHelper} = require('./installMouseHelper');
 const {testNameFromFile, fileNameFromTest, getVersionDir, buildRuntimeCode, 
waitTime} = require('./util');
 const {origin} = require('./config');
 const Timeline = require('./Timeline');
@@ -18,13 +19,11 @@ program
 program.parse(process.argv);
 
 program.speed = +program.speed || 1;
-console.log(program.speed);
 
 if (!program.tests) {
 throw new Error('Tests are required');
 }
 
-
 function getScreenshotDir() {
 return 'tmp/__screenshot__';
 }
@@ -119,6 +118,8 @@ async function runTestPage(browser, testOpt, version, 
runtimeCode) {
 const page = await browser.newPage();
 page.setRequestInterception(true);
 page.on('request', replaceEChartsVersion);
+
+installMouseHelper(page);
 await page.evaluateOnNewDocument(runtimeCode);
 
 page.on('console', msg => {
diff --git a/test/runTest/client/index.html b/test/runTest/client/index.html
index 2201025..abc67de 100644
--- a/test/runTest/client/index.html
+++ b/test/runTest/client/index.html

[GitHub] [incubator-echarts] deqingli closed issue #9256: echarts 4.0 树缩放 后收拢根节点会玩失踪

2019-09-09 Thread GitBox
deqingli closed issue #9256: echarts 4.0 树缩放 后收拢根节点会玩失踪
URL: https://github.com/apache/incubator-echarts/issues/9256
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] deqingli closed issue #9216: 怎么控制tree图的显示位置

2019-09-09 Thread GitBox
deqingli closed issue #9216: 怎么控制tree图的显示位置
URL: https://github.com/apache/incubator-echarts/issues/9216
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] deqingli closed issue #10291: tree type series set roam as true cause the root node disapear in sight

2019-09-09 Thread GitBox
deqingli closed issue #10291: tree type series set roam as true cause the root 
node disapear in sight
URL: https://github.com/apache/incubator-echarts/issues/10291
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] deqingli closed issue #9580: [tree] move outside to container after move and Collapse the root node of tree

2019-09-09 Thread GitBox
deqingli closed issue #9580: [tree] move outside to container after move and 
Collapse the root node of tree
URL: https://github.com/apache/incubator-echarts/issues/9580
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] deqingli closed issue #10164: 当树图放大缩小或者移动后,点击根节点后,图表会消失。

2019-09-09 Thread GitBox
deqingli closed issue #10164: 当树图放大缩小或者移动后,点击根节点后,图表会消失。
URL: https://github.com/apache/incubator-echarts/issues/10164
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[incubator-echarts] branch master updated (55de79f -> b3a9782)

2019-09-09 Thread deqingli
This is an automated email from the ASF dual-hosted git repository.

deqingli pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.


from 55de79f  feat: support expansion animation for data update; fix #11029
 new ad58ca3  fix(tree): fix tree root disappear after pan and roam #10291 
#10986 #10164 #9580 #9256 #9216
 new cc592c8  Merge remote-tracking branch 'upstream/master'
 new c646d44  fix(tree): fix root node disappear after roam in vertical 
orient and add roam test in the tree example
 new ac7f2fd  Merge remote-tracking branch 'upstream/master'
 new e8a5b75  fix(tree): remove the excess para in the 
_updateViewCoordSys() function
 new b3a9782  Merge pull request #11192 from deqingli/master

The 5312 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/chart/tree/TreeSeries.js |  4 +++-
 src/chart/tree/TreeView.js   | 16 +++-
 test/tree-addNode.html   |  8 +---
 test/tree-basic.html |  3 ++-
 test/tree-orient-right-left.html |  6 +-
 test/tree-orient-top-bottom.html |  2 ++
 test/tree-radial.html|  1 +
 test/tree-vertical.html  |  2 ++
 8 files changed, 31 insertions(+), 11 deletions(-)


-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] deqingli merged pull request #11192: Fix tree root node disappear after roam.

2019-09-09 Thread GitBox
deqingli merged pull request #11192: Fix tree root node disappear  after roam.
URL: https://github.com/apache/incubator-echarts/pull/11192
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] deqingli commented on issue #11179: series[i]-line.markPoint.symbol当其值为函数时, 参数1恒为undefined

2019-09-09 Thread GitBox
deqingli commented on issue #11179: series[i]-line.markPoint.symbol当其值为函数时, 
参数1恒为undefined
URL: 
https://github.com/apache/incubator-echarts/issues/11179#issuecomment-529408846
 
 
   Please provide echarts `option` or demo for us to debug.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] echarts-robot[bot] commented on issue #11194: 图层渲染-河流水系

2019-09-09 Thread GitBox
echarts-robot[bot] commented on issue #11194: 图层渲染-河流水系
URL: 
https://github.com/apache/incubator-echarts/issues/11194#issuecomment-529405085
 
 
   Hi! We've received your issue and please be patient to get responded. 
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to 
demo your request**. You may also check out the 
[API](http://echarts.apache.org/api.html) and [chart 
option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent 
question to ask, you may also send an email to d...@echarts.apache.org .
   
   If you are interested in the project, you may also subscribe our [mail 
list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] hy31337 opened a new issue #11194: 图层渲染-河流水系

2019-09-09 Thread GitBox
hy31337 opened a new issue #11194: 图层渲染-河流水系
URL: https://github.com/apache/incubator-echarts/issues/11194
 
 
   ### What problem does this feature solve?
   
希望能与贵公司合作,实现在全国地图上的河流、湖库(流域、水系)在地图上分段标上颜色,类似于示例:【3D热力图示例数据】的效果,数据要动态化,请问JS前端怎么实现。
   
   ### What does the proposed API look like?
   
希望能与贵公司合作,实现在全国地图上的河流、湖库(流域、水系)在地图上分段标上颜色,类似于示例:【3D热力图示例数据】的效果,数据要动态化,请问JS前端怎么实现。
   
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] echarts-robot[bot] commented on issue #11193: 桑基图排序问题

2019-09-09 Thread GitBox
echarts-robot[bot] commented on issue #11193: 桑基图排序问题
URL: 
https://github.com/apache/incubator-echarts/issues/11193#issuecomment-529395071
 
 
   This issue is not created using [issue 
template](https://ecomfe.github.io/echarts-issue-helper/) so I'm going to close 
it. 
   Sorry for this, but it helps save our maintainers' time so that more 
developers get helped.
   Feel free to create another issue using the issue template.
   
   If you think you have already made your point clear without the template, or 
your problem cannot be covered by it, you may re-open this issue again.
   
   这个 issue 未使用 [issue 
模板](https://ecomfe.github.io/echarts-issue-helper/?lang=zh-cn) 创建,所以我将关闭此 issue。
   为此带来的麻烦我深表歉意,但是请理解这是为了节约社区维护者的时间,以更高效地服务社区的开发者群体。
   如果您愿意,可以请使用 issue 模板重新创建 issue。
   
   如果你认为虽然没有使用模板,但你已经提供了复现问题的充分描述,或者你的问题无法使用模板表达,也可以重新 open 这个 issue。


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] 97kun opened a new issue #11193: 桑基图排序问题

2019-09-09 Thread GitBox
97kun opened a new issue #11193: 桑基图排序问题
URL: https://github.com/apache/incubator-echarts/issues/11193
 
 
   桑基图的排序貌似是默认按照links项的value大小排序的,4.1.0版本提到已经修复此类问题,但似乎并没有什么用
   
![image](https://user-images.githubusercontent.com/43403826/64521998-9fd37280-d32b-11e9-80ba-38b226f43891.png)
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] echarts-robot[bot] closed issue #11193: 桑基图排序问题

2019-09-09 Thread GitBox
echarts-robot[bot] closed issue #11193: 桑基图排序问题
URL: https://github.com/apache/incubator-echarts/issues/11193
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] deqingli opened a new pull request #11192: Fix tree root node disappear after roam.

2019-09-09 Thread GitBox
deqingli opened a new pull request #11192: Fix tree root node disappear  after 
roam.
URL: https://github.com/apache/incubator-echarts/pull/11192
 
 
   fix issue #10291 and so on.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] web577526282 opened a new issue #11191: 实例导航有问题

2019-09-09 Thread GitBox
web577526282 opened a new issue #11191: 实例导航有问题
URL: https://github.com/apache/incubator-echarts/issues/11191
 
 
   官网实例导航地方样式有问题 ,点击后背景颜色改变的位置有误
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] echarts-robot[bot] closed issue #11191: 实例导航有问题

2019-09-09 Thread GitBox
echarts-robot[bot] closed issue #11191: 实例导航有问题
URL: https://github.com/apache/incubator-echarts/issues/11191
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] echarts-robot[bot] commented on issue #11191: 实例导航有问题

2019-09-09 Thread GitBox
echarts-robot[bot] commented on issue #11191: 实例导航有问题
URL: 
https://github.com/apache/incubator-echarts/issues/11191#issuecomment-529338217
 
 
   This issue is not created using [issue 
template](https://ecomfe.github.io/echarts-issue-helper/) so I'm going to close 
it. 
   Sorry for this, but it helps save our maintainers' time so that more 
developers get helped.
   Feel free to create another issue using the issue template.
   
   If you think you have already made your point clear without the template, or 
your problem cannot be covered by it, you may re-open this issue again.
   
   这个 issue 未使用 [issue 
模板](https://ecomfe.github.io/echarts-issue-helper/?lang=zh-cn) 创建,所以我将关闭此 issue。
   为此带来的麻烦我深表歉意,但是请理解这是为了节约社区维护者的时间,以更高效地服务社区的开发者群体。
   如果您愿意,可以请使用 issue 模板重新创建 issue。
   
   如果你认为虽然没有使用模板,但你已经提供了复现问题的充分描述,或者你的问题无法使用模板表达,也可以重新 open 这个 issue。


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] OlmoBarberis edited a comment on issue #2941: Handling click events on chart grid columns

2019-09-09 Thread GitBox
OlmoBarberis edited a comment on issue #2941: Handling click events on chart 
grid columns
URL: 
https://github.com/apache/incubator-echarts/issues/2941#issuecomment-528407965
 
 
   > But when I click between two columns, I can not receive any event. I wish 
I can get the dataIndex where the blue line located. Any idea? @coretez
   > 
   > 
![image](https://user-images.githubusercontent.com/1694541/34925970-9af9a352-f9e7-11e7-9027-f7817d241296.png)
   
   Have you tried with:
   `const zr = chart.getZr();
zr.on('click', (params) => {
   console.log(params);
   });`
   
   You can take extract coordinates from params and get dataIndex with 
chart.convertFromPixel.
   
   I have used it in my project and I had found an example that used getZr() 
but I can't find it again now!
   
   EDIT: I have found the example:
   https://echarts.apache.org/examples/en/editor.html?c=line-pen


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] frustigor commented on issue #4545: 图例是否可以定宽

2019-09-09 Thread GitBox
frustigor commented on issue #4545: 图例是否可以定宽
URL: 
https://github.com/apache/incubator-echarts/issues/4545#issuecomment-529322292
 
 
   mark @100pah 的方法需要对 legend.data 进行转制,可行是可行,就是有点麻烦。如果 echarts 直接支持 legend 
item 等宽就好了


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] echarts-robot[bot] commented on issue #11190: 柱状图,x轴type为time,设置min,max无效,并且无法为每个柱子设置单独的样式

2019-09-09 Thread GitBox
echarts-robot[bot] commented on issue #11190: 
柱状图,x轴type为time,设置min,max无效,并且无法为每个柱子设置单独的样式
URL: 
https://github.com/apache/incubator-echarts/issues/11190#issuecomment-529317935
 
 
   Hi! We've received your issue and please be patient to get responded. 
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to 
demo your request**. You may also check out the 
[API](http://echarts.apache.org/api.html) and [chart 
option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent 
question to ask, you may also send an email to d...@echarts.apache.org .
   
   If you are interested in the project, you may also subscribe our [mail 
list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] hengwangm opened a new issue #11190: 柱状图,x轴type为time,设置min,max无效,并且无法为每个柱子设置单独的样式

2019-09-09 Thread GitBox
hengwangm opened a new issue #11190: 
柱状图,x轴type为time,设置min,max无效,并且无法为每个柱子设置单独的样式
URL: https://github.com/apache/incubator-echarts/issues/11190
 
 
   ### Version
   4.1.0-release
   
   ### Reproduction link
   
[https://gallery.echartsjs.com/editor.html?c=xC2CrViSMp=3](https://gallery.echartsjs.com/editor.html?c=xC2CrViSMp=3)
   
   ### Steps to reproduce
   可见链接demo
   https://gallery.echartsjs.com/editor.html?c=xC2CrViSMp=3
   
   ### What is expected?
   希望min和max都能生效
   
   ### What is actually happening?
   柱状图,x轴type为time,设置min,max无效,并且无法为每个柱子设置单独的样式
   
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[incubator-echarts] branch test-autorun updated: test: improve ui. add autoResize option in testHelper.

2019-09-09 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch test-autorun
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git


The following commit(s) were added to refs/heads/test-autorun by this push:
 new ed15eeb  test: improve ui. add autoResize option in testHelper.
ed15eeb is described below

commit ed15eebd61fdc6cf5924a53e50fc3b211f9f285b
Author: pissang 
AuthorDate: Mon Sep 9 14:14:24 2019 +0800

test: improve ui. add autoResize option in testHelper.
---
 test/bar-stream-large.html |  2 +-
 test/candlestick-large3.html   |  1 +
 test/finished.html |  1 +
 test/lib/testHelper.js |  4 +++-
 test/runTest/cli.js|  1 +
 test/runTest/client/client.js  |  9 -
 test/runTest/client/index.html | 24 +--
 test/runTest/recorder/index.html   | 12 ++--
 test/runTest/recorder/recorder.js  | 25 ++--
 test/runTest/runtime/main.js   | 31 +-
 test/runTest/runtime/{main.js => timer.js} | 21 
 test/runTest/server.js | 20 +--
 test/runTest/util.js   | 16 ++-
 13 files changed, 88 insertions(+), 79 deletions(-)

diff --git a/test/bar-stream-large.html b/test/bar-stream-large.html
index f3dc3eb..c2ad31e 100644
--- a/test/bar-stream-large.html
+++ b/test/bar-stream-large.html
@@ -86,7 +86,7 @@ under the License.
 '(4) Check snapshot rendering when "finished"'
 ],
 option: option,
-notResizable: true,
+autoResize: false,
 info: {
 xAxis: option.xAxis,
 series: {progressiveChunkMode: 'sequential'}
diff --git a/test/candlestick-large3.html b/test/candlestick-large3.html
index 7272ef8..0ed32cf 100644
--- a/test/candlestick-large3.html
+++ b/test/candlestick-large3.html
@@ -335,6 +335,7 @@ under the License.
 var panel = document.getElementById('panel0');
 var chart = testHelper.create(echarts, 'main0', {
 title: 'Append data and progressive by mod',
+autoResize: false,
 option: option,
 height: 550
 });
diff --git a/test/finished.html b/test/finished.html
index c195098..a68ac20 100644
--- a/test/finished.html
+++ b/test/finished.html
@@ -198,6 +198,7 @@ under the License.
 'finished should be triggered, and not repeatly',
 'finished should not triggered before real 
finished'
 ],
+autoResize: false,
 option: option
 });
 
diff --git a/test/lib/testHelper.js b/test/lib/testHelper.js
index 252fb0f..7139b70 100644
--- a/test/lib/testHelper.js
+++ b/test/lib/testHelper.js
@@ -239,7 +239,9 @@
 lazyUpdate: opt.lazyUpdate,
 notMerge: opt.notMerge
 });
-if (!opt.notResizable) {
+
+let isAutoResize = opt.autoResize == null ? true : opt.autoResize;
+if (isAutoResize) {
 testHelper.resizable(chart);
 }
 
diff --git a/test/runTest/cli.js b/test/runTest/cli.js
index c04d319..689d41f 100644
--- a/test/runTest/cli.js
+++ b/test/runTest/cli.js
@@ -18,6 +18,7 @@ program
 program.parse(process.argv);
 
 program.speed = +program.speed || 1;
+console.log(program.speed);
 
 if (!program.tests) {
 throw new Error('Tests are required');
diff --git a/test/runTest/client/client.js b/test/runTest/client/client.js
index fb30e13..714a56d 100644
--- a/test/runTest/client/client.js
+++ b/test/runTest/client/client.js
@@ -46,6 +46,7 @@ const app = new Vue({
 
 runConfig: {
 noHeadless: false,
+replaySpeed: 5,
 threads: 1
 }
 },
@@ -131,6 +132,9 @@ const app = new Vue({
 refreshList() {
 
 },
+runTest(testName) {
+runTests([testName]);
+},
 runSelectedTests() {
 const tests = this.fullTests.filter(test => {
 return test.selected;
@@ -152,7 +156,10 @@ function runTests(tests) {
 socket.emit('run', {
 tests,
 threads: app.runConfig.threads,
-noHeadless: app.runConfig.noHeadless
+noHeadless: app.runConfig.noHeadless,
+replaySpeed: app.runConfig.noHeadless
+? app.runConfig.replaySpeed
+: 5 // Force run at 5x speed
 });
 }
 else {
diff --git a/test/runTest/client/index.html b/test/runTest/client/index.html
index d2d5720..2201025 100644
--- a/test/runTest/client/index.html
+++ b/test/runTest/client/index.html
@@