[GitHub] [incubator-echarts-doc] pissang commented on pull request #119: tweak: show live example button and component only when doc is type of option/gl-option.

2020-06-30 Thread GitBox


pissang commented on pull request #119:
URL: 
https://github.com/apache/incubator-echarts-doc/pull/119#issuecomment-652205253


   @plainheart BTW, do you have any interest in implementing the layout switch 
feature you mentioned in 
https://github.com/apache/incubator-echarts-doc/pull/118#issuecomment-651511007 
? 



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



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



[GitHub] [incubator-echarts] Ovilia commented on issue #12864: [DISCUSS] To find better solutions for detecting touchable device

2020-06-30 Thread GitBox


Ovilia commented on issue #12864:
URL: 
https://github.com/apache/incubator-echarts/issues/12864#issuecomment-652204857


   I don't think I understand why should the developers need to config about 
whether `touchEventsSupported`.
   Because it seems to me that it depends on the device of the users who visit 
the website with charts rather than developers who made the charts. So how 
should the develop config this option for both touch devices and non-touch 
devices?
   
   User agent looks like the right way to solve this. If there are some 
specific devices that don't work as expected, like not included in touch UA, I 
think it's better to know this from the bug issues they open and we then ask 
them for more information like UA or others, and see if there is any better 
solution.



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



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



[incubator-echarts-doc] branch master updated: tweak: show live example button and component only when doc is type of option/gl-option.

2020-06-30 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new e1bf0a7  tweak: show live example button and component only when doc 
is type of option/gl-option.
 new 8ca65e7  Merge pull request #119 from plainheart/fix-doc1
e1bf0a7 is described below

commit e1bf0a7049561af85efe53d01fa5d07f5fd139f2
Author: plainheart 
AuthorDate: Wed Jul 1 11:18:36 2020 +0800

tweak: show live example button and component only when doc is type of 
option/gl-option.
---
 src/components/DocContent.vue | 8 ++--
 tool/md2json.js   | 2 +-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/components/DocContent.vue b/src/components/DocContent.vue
index f23cdc3..8aefb1c 100644
--- a/src/components/DocContent.vue
+++ b/src/components/DocContent.vue
@@ -27,7 +27,7 @@
 >
 
 
-
+
 ]*>)([\s\S]*?)(<\s*\/ExampleBaseOption\s*>)/g,
 function (text, openTag, code, closeTag) {
 const codeKey = codeKeyPrefx + (codeIndex++);
 codeMap[codeKey] = code;


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



[GitHub] [incubator-echarts-doc] pissang commented on pull request #119: tweak: show live example button and component only when doc is type of option/gl-option.

2020-06-30 Thread GitBox


pissang commented on pull request #119:
URL: 
https://github.com/apache/incubator-echarts-doc/pull/119#issuecomment-652204215


   Thanks @plainheart !



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



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



[GitHub] [incubator-echarts-doc] pissang merged pull request #119: tweak: show live example button and component only when doc is type of option/gl-option.

2020-06-30 Thread GitBox


pissang merged pull request #119:
URL: https://github.com/apache/incubator-echarts-doc/pull/119


   



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



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



[GitHub] [incubator-echarts] plainheart closed issue #12876: 你好 请问多个charts联动某个时刻数据有空值 联动就失效,这个解决了么 我现在的版本是4.7.0 也存在这个问题

2020-06-30 Thread GitBox


plainheart closed issue #12876:
URL: https://github.com/apache/incubator-echarts/issues/12876


   



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



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



[GitHub] [incubator-echarts] beipiaoyu2011 commented on issue #2943: Option to make axisLabel clickable

2020-06-30 Thread GitBox


beipiaoyu2011 commented on issue #2943:
URL: 
https://github.com/apache/incubator-echarts/issues/2943#issuecomment-652195960


   > In version 4.1.0 I had to set 
[triggerEvent](https://ecomfe.github.io/echarts-doc/public/en/option.html#xAxis.triggerEvent)
 = true
   
   right,  version 4, need to set triggerEvent = true



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



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



[GitHub] [incubator-echarts] huanglp3368 opened a new issue #12877: 使用echarts.connect 实现多图tooltip联动显示时 ,如果某个图折线存在空数据,联动失效

2020-06-30 Thread GitBox


huanglp3368 opened a new issue #12877:
URL: https://github.com/apache/incubator-echarts/issues/12877


   ### Version
   4.7.0
   
   ### Reproduction link
   
[https://codepen.io/flyfly6/pen/vmGzgq](https://codepen.io/flyfly6/pen/vmGzgq)
   
   ### Steps to reproduce
   connect
   
   ### What is expected?
   实现即使某个charts数据有空值 也能联动
   
   ### 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



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



[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12877: 使用echarts.connect 实现多图tooltip联动显示时 ,如果某个图折线存在空数据,联动失效

2020-06-30 Thread GitBox


echarts-bot[bot] commented on issue #12877:
URL: 
https://github.com/apache/incubator-echarts/issues/12877#issuecomment-652192102


   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. Please 
attach the issue link if it's a technical questions.
   
   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



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



[GitHub] [incubator-echarts] huanglp3368 opened a new issue #12876: 你好 请问多个charts联动某个时刻数据有空值 联动就失效,这个解决了么 我现在的版本是4.7.0 也存在这个问题

2020-06-30 Thread GitBox


huanglp3368 opened a new issue #12876:
URL: https://github.com/apache/incubator-echarts/issues/12876


   
   
   This issue is not created by 
[echarts-issue-helper](https://ecomfe.github.io/echarts-issue-helper) and will 
be soon closed.
   



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



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



[GitHub] [incubator-echarts] eerenyuan commented on issue #12865: Documentation for tree - series -data.

2020-06-30 Thread GitBox


eerenyuan commented on issue #12865:
URL: 
https://github.com/apache/incubator-echarts/issues/12865#issuecomment-652176752


   thanks, thats' fast. 



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



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



[GitHub] [incubator-echarts-doc] plainheart opened a new pull request #119: tweak: show live example button and component only when doc is type of option/gl-option.

2020-06-30 Thread GitBox


plainheart opened a new pull request #119:
URL: https://github.com/apache/incubator-echarts-doc/pull/119


   - Don't show live example button and component if the doc is not the type of 
option and gl-option.
   - Don't parse UI component if the doc is the type of option or gl-option.



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



-
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 #12870: 官方阶梯瀑布图是否有计划支持从400下降800达到-400这样的效果,堆叠柱状图形时问题更明显

2020-06-30 Thread GitBox


pissang commented on issue #12870:
URL: 
https://github.com/apache/incubator-echarts/issues/12870#issuecomment-652157201


   官方这个例子还是用两个系列来模拟了瀑布图,会存在这样的问题,可以试试用自定义系列来画



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



-
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 #12873: Nanosecond support

2020-06-30 Thread GitBox


pissang edited a comment on issue #12873:
URL: 
https://github.com/apache/incubator-echarts/issues/12873#issuecomment-652152368


   The time precision of browsers is limited. You can use `value` axis to 
present nanosecond..



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



-
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 #12873: Nanosecond support

2020-06-30 Thread GitBox


pissang commented on issue #12873:
URL: 
https://github.com/apache/incubator-echarts/issues/12873#issuecomment-652152368


   The precision of browsers is limited. You can use `value` axis to present 
nanosecond..



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



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



[GitHub] [incubator-echarts] pissang closed issue #12874: 饼图标签居中重叠

2020-06-30 Thread GitBox


pissang closed issue #12874:
URL: https://github.com/apache/incubator-echarts/issues/12874


   



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



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



[GitHub] [incubator-echarts] ZhouXiaoL opened a new issue #12875: 饼图标签居中重叠

2020-06-30 Thread GitBox


ZhouXiaoL opened a new issue #12875:
URL: https://github.com/apache/incubator-echarts/issues/12875


   ### Version
   4.8.0
   
   ### Reproduction link
   
[https://gallery.echartsjs.com/editor.html?c=x9Og7OYc_D=2](https://gallery.echartsjs.com/editor.html?c=x9Og7OYc_D=2)
   
   ### Steps to reproduce
   饼图标签居中重叠
   
   ### 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



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



[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12874: 饼图标签居中重叠

2020-06-30 Thread GitBox


echarts-bot[bot] commented on issue #12874:
URL: 
https://github.com/apache/incubator-echarts/issues/12874#issuecomment-652145125


   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



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



[GitHub] [incubator-echarts] ZhouXiaoL opened a new issue #12874: 饼图标签居中重叠

2020-06-30 Thread GitBox


ZhouXiaoL opened a new issue #12874:
URL: https://github.com/apache/incubator-echarts/issues/12874


   
   
   This issue is not created by 
[echarts-issue-helper](https://ecomfe.github.io/echarts-issue-helper) and will 
be soon closed.
   



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



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



[incubator-echarts-doc] branch master updated: not parsing UI in tutorial and api. fix parsing breaks the original article

2020-06-30 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new a347d2a  not parsing UI in tutorial and api. fix parsing breaks the 
original article
a347d2a is described below

commit a347d2a1b033242590be83f6a0717b6b5f172c86
Author: pissang 
AuthorDate: Wed Jul 1 09:59:21 2020 +0800

not parsing UI in tutorial and api. fix parsing breaks the original article
---
 tool/md2json.js | 28 +---
 1 file changed, 17 insertions(+), 11 deletions(-)

diff --git a/tool/md2json.js b/tool/md2json.js
index 3edb06f..af3aaa1 100644
--- a/tool/md2json.js
+++ b/tool/md2json.js
@@ -50,7 +50,7 @@ function convert(opts, cb) {
 });
 
 // Markdown to JSON
-var schema = mdToJsonSchema(mdStr, maxDepth, opts.imageRoot);
+var schema = mdToJsonSchema(mdStr, maxDepth, opts.imageRoot, entry);
 // console.log(mdStr);
 var topLevel = schema.option.properties;
 
@@ -105,8 +105,9 @@ function convert(opts, cb) {
 });
 }
 
-function mdToJsonSchema(mdStr, maxDepth, imagePath) {
-var renderer = new marked.Renderer();
+function mdToJsonSchema(mdStr, maxDepth, imagePath, entry) {
+const renderer = new marked.Renderer();
+const originalHTMLRenderer = renderer.html;
 renderer.link = function (href, title, text) {
 if (href.match(/^~/)) { // Property link
 return '' + text + '';
@@ -348,15 +349,20 @@ function mdToJsonSchema(mdStr, maxDepth, imagePath) {
 // Avoid marked converting the markers in the code unexpectly.
 // Like convert * to em.
 // Also no need to decode entity
-section = 
section.replace(/(<\s*ExampleBaseOption[^>]*>)([\s\S]*?)(<\s*\/ExampleBaseOption\s*>)/g,
 function (text, openTag, code, closeTag) {
-const codeKey = codeKeyPrefx + (codeIndex++);
-codeMap[codeKey] = code;
-return openTag + codeKey + closeTag
-});
+if (entry === 'option') {
+section = 
section.replace(/(<\s*ExampleBaseOption[^>]*>)([\s\S]*?)(<\s*\/ExampleBaseOption\s*>)/g,
 function (text, openTag, code, closeTag) {
+const codeKey = codeKeyPrefx + (codeIndex++);
+codeMap[codeKey] = code;
+return openTag + codeKey + closeTag;
+});
+renderer.html = function (html) {
+return parseUIControl(html, property, codeMap);
+};
+}
+else {
+renderer.html = originalHTMLRenderer;
+}
 
-renderer.html = function (html) {
-return parseUIControl(html, property, codeMap);
-};
 
 property.description = marked(section, {
 renderer: renderer


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



[GitHub] [incubator-echarts] plainheart commented on issue #12865: Documentation for tree - series -data.

2020-06-30 Thread GitBox


plainheart commented on issue #12865:
URL: 
https://github.com/apache/incubator-echarts/issues/12865#issuecomment-652114451


   Hi, @eerenyuan It is online now~ 
https://echarts.apache.org/en/option.html#series-tree.data



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



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



[GitHub] [incubator-echarts] plainheart closed issue #12871: dataZoom for the clustered charts

2020-06-30 Thread GitBox


plainheart closed issue #12871:
URL: https://github.com/apache/incubator-echarts/issues/12871


   



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



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



[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12873: Nanosecond support

2020-06-30 Thread GitBox


echarts-bot[bot] commented on issue #12873:
URL: 
https://github.com/apache/incubator-echarts/issues/12873#issuecomment-652034876


   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. Please 
attach the issue link if it's a technical questions.
   
   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



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



[GitHub] [incubator-echarts] ajebaje opened a new issue #12873: Nanosecond support

2020-06-30 Thread GitBox


ajebaje opened a new issue #12873:
URL: https://github.com/apache/incubator-echarts/issues/12873


   ### What problem does this feature solve?
   We are working with high precision data for simulation. It needs nanosecond 
level support.  Does Echart support that today ? If not, is this feature coming 
?
   
   ### What does the proposed API look like?
   Not sure
   
   
   



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



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



[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12872: Misleading dataZoom for the clustered charts

2020-06-30 Thread GitBox


echarts-bot[bot] commented on issue #12872:
URL: 
https://github.com/apache/incubator-echarts/issues/12872#issuecomment-651829592


   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. Please 
attach the issue link if it's a technical questions.
   
   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



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



[GitHub] [incubator-echarts] djanusausk opened a new issue #12872: Misleading dataZoom for the clustered charts

2020-06-30 Thread GitBox


djanusausk opened a new issue #12872:
URL: https://github.com/apache/incubator-echarts/issues/12872


   ### Version
   4.1.0-release
   
   ### Steps to reproduce
   Hi,
   
   There seems to be a limitation on how dataZoom draws the timeline for the 
clustered charts.
   
   Consider following example. Clustered bar chart with the categorical legend.
   
[image](https://user-images.githubusercontent.com/67644261/86138414-589ab600-bae6-11ea-88d9-fa7931bc07f6.png)
   
   "Matcha Latte" has a significant peak on the 2016 (check example under 
additional comments). However, dataZoom does not correctly indicate this. It 
seems that dataZoom always draws timeline for the first category which is 
"2015" in the example above. Instead as a user I would expect that dataZoom 
displays timeline across the total of the categorical values. It should also 
respond correctly based on the categories selected/highlighted.
   
   I did not come across any configuration option to support above. Could you 
please advise?
   Thanks in advance,
   D
   
   ### What is expected?
   dataZoom should always calculate total values across categories and draw 
timeline based on that data.
   
   ### What is actually happening?
   dataZoom always displays timeline of the first category selected/highlighted 
in the clustered chart.
   
   ---
   ```
   option = {
   legend: {},
   tooltip: {},
   dataset: {
   source: [
   ['product', '2015', '2016', '2017'],
   ['Matcha Latte', 43.3, 185.8, 93.7],
   ['Milk Tea', 83.1, 73.4, 55.1],
   ['Cheese Cocoa', 86.4, 65.2, 82.5],
   ['Walnut Brownie', 72.4, 53.9, 39.1]
   ]
   },
   xAxis: {type: 'category'},
   yAxis: {},
   // Declare several bar series, each will be mapped
   // to a column of dataset.source by default.
dataZoom: [
   {
   show: true,
   type: 'slider',
   start: 0,
   end: 100,
   filterMode: 'filter'
   },
   {
   type: 'inside',
   start: 0,
   end: 100
   },
   {
   show: false,
   yAxisIndex: 0,
   filterMode: 'empty',
   width: 30,
   height: '80%',
   showDataShadow: false,
   left: '93%'
   }
   ],
   series: [
   {type: 'bar'},
   {type: 'bar'},
   {type: 'bar'}
   ]
   };
   ```
   
   
   



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



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



[GitHub] [incubator-echarts] djanusausk opened a new issue #12871: dataZoom for the clustered charts

2020-06-30 Thread GitBox


djanusausk opened a new issue #12871:
URL: https://github.com/apache/incubator-echarts/issues/12871


   Hi,
   
   There seems to be a limitation on how dataZoom draws the timeline for the 
clustered charts.
   
   Consider following example. Clustered bar chart with the categorical legend. 
   
![image](https://user-images.githubusercontent.com/67644261/86136659-43248c80-bae4-11ea-915c-2f4910cda987.png)
   
   As you can see from the image, "Matcha Latte" has a significant peak on the 
2016. However, dataZoom does not correctly indicate this. It seems that 
dataZoom always draws timeline for the first category which is "2015" in the 
example above. Instead as a user I would expect that dataZoom displays timeline 
across the total of the categorical values. It should also respond correctly 
based on the categories selected/highlighted.
   
   I did not come across any configuration option to support above. Could you 
please advise?
   
   Here is the example:
   
   option = {
   legend: {},
   tooltip: {},
   dataset: {
   source: [
   ['product', '2015', '2016', '2017'],
   ['Matcha Latte', 43.3, 185.8, 93.7],
   ['Milk Tea', 83.1, 73.4, 55.1],
   ['Cheese Cocoa', 86.4, 65.2, 82.5],
   ['Walnut Brownie', 72.4, 53.9, 39.1]
   ]
   },
   xAxis: {type: 'category'},
   yAxis: {},
   // Declare several bar series, each will be mapped
   // to a column of dataset.source by default.
dataZoom: [
   {
   show: true,
   type: 'slider',
   start: 0,
   end: 100,
   filterMode: 'filter'
   },
   {
   type: 'inside',
   start: 0,
   end: 100
   },
   {
   show: false,
   yAxisIndex: 0,
   filterMode: 'empty',
   width: 30,
   height: '80%',
   showDataShadow: false,
   left: '93%'
   }
   ],
   series: [
   {type: 'bar'},
   {type: 'bar'},
   {type: 'bar'}
   ]
   };
   
   Thanks in advance,
   Dee



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



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



[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12871: dataZoom for the clustered charts

2020-06-30 Thread GitBox


echarts-bot[bot] commented on issue #12871:
URL: 
https://github.com/apache/incubator-echarts/issues/12871#issuecomment-651821122


   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



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



[GitHub] [incubator-echarts] ferrydjing edited a comment on issue #12869: echarts tree图单个节点设置linestyle无效

2020-06-30 Thread GitBox


ferrydjing edited a comment on issue #12869:
URL: 
https://github.com/apache/incubator-echarts/issues/12869#issuecomment-651686990


   > 
看起来像是个bug,不过[文档](https://echarts.apache.org/zh/option.html#series-tree.data)中似乎并未提及可以为单个data设置
 `lineStyle`,只有对整个系列生效的 
[`lineStyle`](https://echarts.apache.org/zh/option.html#series-tree.lineStyle)
   > 或者是我错过了什么?
   
   文档确实是没有提及给单个data设置 `lineStyle`, 但是实际使用是可以设置children的`lineStyle`.



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



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



[GitHub] [incubator-echarts] ferrydjing commented on issue #12869: echarts tree图单个节点设置linestyle无效

2020-06-30 Thread GitBox


ferrydjing commented on issue #12869:
URL: 
https://github.com/apache/incubator-echarts/issues/12869#issuecomment-651686990


   > 
看起来像是个bug,不过[文档](https://echarts.apache.org/zh/option.html#series-tree.data)中似乎并未提及可以为单个data设置
 `lineStyle`,只有对整个系列生效的 
[`lineStyle`](https://echarts.apache.org/zh/option.html#series-tree.lineStyle)
   > 或者是我错过了什么?
   
   文档确实是没有提及给单个data设置 `lineStyle`, 但是实际使用是可以设置的。不清楚是否是支持的



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



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



[GitHub] [incubator-echarts] JackHanLinWei opened a new issue #12870: 官方阶梯瀑布图是否有计划支持从400下降800达到-400这样的效果

2020-06-30 Thread GitBox


JackHanLinWei opened a new issue #12870:
URL: https://github.com/apache/incubator-echarts/issues/12870


   ### Version
   4.8.0
   
   ### Reproduction link
   
[https://echarts.apache.org/examples/zh/editor.html?c=bar-waterfall2](https://echarts.apache.org/examples/zh/editor.html?c=bar-waterfall2)
   
   ### Steps to reproduce
   点击https://echarts.apache.org/examples/zh/editor.html?c=bar-waterfall2 官方demo 
无法支持从400下降800达到-400这样的效果
   
   ### What is expected?
   实现从400下降800达到-400这样的效果
   
   ### 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



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



[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12870: 官方阶梯瀑布图是否有计划支持从400下降800达到-400这样的效果

2020-06-30 Thread GitBox


echarts-bot[bot] commented on issue #12870:
URL: 
https://github.com/apache/incubator-echarts/issues/12870#issuecomment-651685270


   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. Please 
attach the issue link if it's a technical questions.
   
   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



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



[GitHub] [incubator-echarts] plainheart commented on issue #12869: echarts tree图单个节点设置linestyle无效

2020-06-30 Thread GitBox


plainheart commented on issue #12869:
URL: 
https://github.com/apache/incubator-echarts/issues/12869#issuecomment-651684650


   
看起来像是个bug,不过[文档](https://echarts.apache.org/zh/option.html#series-tree.data)中似乎并未提及可以为单个data设置
 `lineStyle`,只有对整个系列生效的 
[`lineStyle`](https://echarts.apache.org/zh/option.html#series-tree.lineStyle)
   或者是我错过了什么?



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



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



[incubator-echarts-website] branch asf-site updated: update

2020-06-30 Thread sushuang
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/asf-site by this push:
 new 604abf7  update
604abf7 is described below

commit 604abf766ca3044f16f5775600e09d29d86eed43
Author: 100pah 
AuthorDate: Tue Jun 30 17:35:06 2020 +0800

update
---
 components/builder.html| 2 +-
 components/download.html   | 4 ++--
 en/404.html| 2 +-
 en/api.html| 8 
 en/builder.html| 2 +-
 en/builder/echarts.html| 2 +-
 en/changelog.html  | 2 +-
 en/cheat-sheet.html| 2 +-
 en/coding-standard.html| 2 +-
 en/committers.html | 2 +-
 en/dependencies.html   | 2 +-
 en/download-extension.html | 2 +-
 en/download-map.html   | 2 +-
 en/download-theme.html | 2 +-
 en/download.html   | 4 ++--
 en/faq.html| 2 +-
 en/feature.html| 2 +-
 en/index.html  | 4 ++--
 en/js/doc-bundle.js| 2 +-
 en/maillist.html   | 2 +-
 en/option-gl.html  | 8 
 en/option.html | 8 
 en/option3.html| 2 +-
 en/tutorial.html   | 8 
 examples/en/editor.html| 4 ++--
 examples/en/index.html | 4 ++--
 examples/en/view.html  | 4 ++--
 examples/zh/editor.html| 4 ++--
 examples/zh/index.html | 4 ++--
 examples/zh/view.html  | 4 ++--
 layouts/basic.html | 2 +-
 layouts/doc-old.html   | 8 
 layouts/doc.html   | 8 
 zh/404.html| 2 +-
 zh/api.html| 8 
 zh/builder.html| 2 +-
 zh/builder/echarts.html| 2 +-
 zh/builder3.html   | 2 +-
 zh/changelog.html  | 2 +-
 zh/cheat-sheet.html| 2 +-
 zh/coding-standard.html| 2 +-
 zh/committers.html | 2 +-
 zh/demo.html   | 2 +-
 zh/dependencies.html   | 2 +-
 zh/download-extension.html | 2 +-
 zh/download-map.html   | 2 +-
 zh/download-theme.html | 2 +-
 zh/download.html   | 4 ++--
 zh/download3.html  | 4 ++--
 zh/examples.html   | 2 +-
 zh/faq.html| 2 +-
 zh/feature.html| 2 +-
 zh/index.html  | 4 ++--
 zh/js/doc-bundle.js| 2 +-
 zh/maillist.html   | 2 +-
 zh/option-gl.html  | 8 
 zh/option.html | 8 
 zh/option3.html| 8 
 zh/spreadsheet.html| 8 
 zh/tutorial.html   | 8 
 60 files changed, 108 insertions(+), 108 deletions(-)

diff --git a/components/builder.html b/components/builder.html
index 49c7f1e..64d3abb 100644
--- a/components/builder.html
+++ b/components/builder.html
@@ -1,4 +1,4 @@
-https://echarts.apache.org/zh/images/favicon.png;>https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dis [...]
+https://echarts.apache.org/zh/images/favicon.png;>https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dis [...]
 https://cdn.jsdelivr.net/npm/pace-progressbar@1.0.2/pace.min.js";>if 
(/windows/i.test(navigator.userAgent)) {
 var el = document.createElement('style');
 el.innerHTML = ''
diff --git a/components/download.html b/components/download.html
index dd7a4b9..3005b9b 100644
--- a/components/download.html
+++ b/components/download.html
@@ -1,4 +1,4 @@
-https://echarts.apache.org/zh/images/favicon.png";>https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dis [...]
+https://echarts.apache.org/zh/images/favicon.png";>https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dis [...]
 https://cdn.jsdelivr.net/npm/pace-progressbar@1.0.2/pace.min.js";>if 
(/windows/i.test(navigator.userAgent)) {
 var el = document.createElement('style');
 el.innerHTML = ''
@@ -7,7 +7,7 @@
 

[incubator-echarts-doc] branch master updated: example: use a shorter en title to avoid the overlap

2020-06-30 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 80f0e9d  example: use a shorter en title to avoid the overlap
80f0e9d is described below

commit 80f0e9d1ebc1671a83b86aea6a08fa6f21cc9acb
Author: pissang 
AuthorDate: Tue Jun 30 17:18:32 2020 +0800

example: use a shorter en title to avoid the overlap
---
 src/i18n.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/i18n.js b/src/i18n.js
index 0237dd8..03c0887 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -20,7 +20,7 @@ export default {
 properties: 'Properties'
 },
 example: {
-title: 'Preview the Option',
+title: 'Preview',
 titleShort: 'Preview',
 intro: 'Try different values of the option and preview!',
 noExample: 'No example available for current component.',


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



[GitHub] [incubator-echarts] ferrydjing opened a new issue #12869: echarts tree图单个节点设置linestyle无效

2020-06-30 Thread GitBox


ferrydjing opened a new issue #12869:
URL: https://github.com/apache/incubator-echarts/issues/12869


   ### Version
   4.7.0
   
   ### Reproduction link
   
[https://codepen.io/ferrydjing/project/editor/ZMvYEp](https://codepen.io/ferrydjing/project/editor/ZMvYEp)
   
   ### Steps to reproduce
   如codepen中的例子,当data中节点有children的设置linestyle是有效的,但是没有children的节点设置则不生效
   
   ### What is expected?
   单个节点设置lineStyle
   
   ### What is actually happening?
   实际单个节点linestyle不生效
   
   
   



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



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



[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12869: echarts tree图单个节点设置linestyle无效

2020-06-30 Thread GitBox


echarts-bot[bot] commented on issue #12869:
URL: 
https://github.com/apache/incubator-echarts/issues/12869#issuecomment-651678224


   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. Please 
attach the issue link if it's a technical questions.
   
   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



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



[GitHub] [incubator-echarts-doc] pissang edited a comment on pull request #118: [Feature] Interactive Option Preview

2020-06-30 Thread GitBox


pissang edited a comment on pull request #118:
URL: 
https://github.com/apache/incubator-echarts-doc/pull/118#issuecomment-651668442


   > It seems that there are some overlaps.
   
   Hi @plainheart. I've reduced the input width in this PR, the link is 
not updated yet. Thanks for the reminding.
   
   Seems the overlap still exists. Perhaps I should use a shorter title like 
`Preview`
   
   > And I noticed that the preview panel will only change to bottom when the 
screen size is smaller. Is it possible to let the developer decide the layout 
position?
   
   Good idea! Will implement it later today.



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



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



[GitHub] [incubator-echarts-doc] pissang commented on pull request #118: [Feature] Interactive Option Preview

2020-06-30 Thread GitBox


pissang commented on pull request #118:
URL: 
https://github.com/apache/incubator-echarts-doc/pull/118#issuecomment-651668442


   > It seems that there are some overlaps.
   
   Hi @plainheart. I've reduced the input width in this PR, the link is not 
updated yet. Thanks for the reminding.
   
   > And I noticed that the preview panel will only change to bottom when the 
screen size is smaller. Is it possible to let the developer decide the layout 
position?
   
   Good idea! Will implement it later today.



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



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



[incubator-echarts-doc] branch master updated: example: not show try button in mobile

2020-06-30 Thread shenyi
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 0669da3  example: not show try button in mobile
0669da3 is described below

commit 0669da3ccd31aeb6af82e97093886e558752da26
Author: pissang 
AuthorDate: Tue Jun 30 17:09:14 2020 +0800

example: not show try button in mobile
---
 src/components/DocContentItemCard.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/DocContentItemCard.vue 
b/src/components/DocContentItemCard.vue
index 3b4d90a..0e1d882 100644
--- a/src/components/DocContentItemCard.vue
+++ b/src/components/DocContentItemCard.vue
@@ -28,7 +28,7 @@
 
 
  {{$t('example.tryDesc')}}


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



[GitHub] [incubator-echarts] plainheart opened a new pull request #12868: feat(extension/bmap): support for specifying initial map options.

2020-06-30 Thread GitBox


plainheart opened a new pull request #12868:
URL: https://github.com/apache/incubator-echarts/pull/12868


   
   
   ## Brief Information
   
   This pull request is in the type of:
   
   - [ ] bug fixing
   - [x] new feature
   - [ ] others
   
   
   
   ### What does this PR do?
   
   
   Added support for specifying initial map options.
   
   ### Fixed issues
   
   - #6902
   - #8422
   - #8806
   - #11802
   
   ## Details
   
   ### Before: What was the problem?
   
   
   Since Baidu Map sets `enableMapClick` as true by default, the POI's icon 
will be clickable when using ECharts bmap extension.
   This option can't be dynamically changed in runtime. We want to disable it 
to improve experience sometimes.
   
   
   
![image](https://user-images.githubusercontent.com/26999792/86098668-05763280-bae9-11ea-88a4-7b2ce4e5efa0.png)
   
   
   ### After: How is it fixed in this PR?
   
   
   By specifying `enableMapClick` for `false`, POIs on map will be unclickable 
as we expect.
   
   ```js
   bmap: {
   center: [104.114129, 37.550339],
   zoom: 5,
   roam: true,
   mapOptions: {
   enableMapClick: false,
   maxZoom: 15,
   minZoom: 5
   }
   }
   ```
   
   
   
![image](https://user-images.githubusercontent.com/26999792/86099360-f8a60e80-bae9-11ea-9c2b-e5815d6f182e.png)

   
   ## Usage
   
   ### Are there any API changes?
   
   - [x] The API has been changed.
   
   
   - added a new option named `mapOptions`.
   
   ### Related test cases or examples to use the new APIs
   
   Refer to `test/bmap-mapOptions.html`.
   



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



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



[GitHub] [incubator-echarts] echarts-bot[bot] commented on pull request #12868: feat(extension/bmap): support for specifying initial map options.

2020-06-30 Thread GitBox


echarts-bot[bot] commented on pull request #12868:
URL: 
https://github.com/apache/incubator-echarts/pull/12868#issuecomment-651629968


   Thanks for your contribution!
   The community will review it ASAP. In the meanwhile, please checkout [the 
coding standard](https://echarts.apache.org/en/coding-standard.html) and Wiki 
about [How to make a pull 
request](https://github.com/apache/incubator-echarts/wiki/How-to-make-a-pull-request).
   
   The pull request is marked to be `PR: author is committer` because you are a 
committer of this project.



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



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



[incubator-echarts-website] 01/02: update

2020-06-30 Thread sushuang
This is an automated email from the ASF dual-hosted git repository.

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

commit 73cf92c32de2e9c1b0e7e879df8efb056b2b9028
Author: 100pah 
AuthorDate: Tue Jun 30 15:50:52 2020 +0800

update
---
 components/builder.html| 2 +-
 components/download.html   | 4 ++--
 en/404.html| 2 +-
 en/api.html| 8 
 en/builder.html| 2 +-
 en/builder/echarts.html| 2 +-
 en/changelog.html  | 2 +-
 en/cheat-sheet.html| 2 +-
 en/coding-standard.html| 2 +-
 en/committers.html | 2 +-
 en/dependencies.html   | 2 +-
 en/download-extension.html | 2 +-
 en/download-map.html   | 2 +-
 en/download-theme.html | 2 +-
 en/download.html   | 4 ++--
 en/faq.html| 2 +-
 en/feature.html| 2 +-
 en/index.html  | 4 ++--
 en/maillist.html   | 2 +-
 en/option-gl.html  | 8 
 en/option.html | 8 
 en/option3.html| 2 +-
 en/tutorial.html   | 8 
 examples/en/editor.html| 4 ++--
 examples/en/index.html | 4 ++--
 examples/en/view.html  | 4 ++--
 examples/zh/editor.html| 4 ++--
 examples/zh/index.html | 4 ++--
 examples/zh/view.html  | 4 ++--
 layouts/basic.html | 2 +-
 layouts/doc-old.html   | 8 
 layouts/doc.html   | 8 
 zh/404.html| 2 +-
 zh/api.html| 8 
 zh/builder.html| 2 +-
 zh/builder/echarts.html| 2 +-
 zh/builder3.html   | 2 +-
 zh/changelog.html  | 2 +-
 zh/cheat-sheet.html| 2 +-
 zh/coding-standard.html| 2 +-
 zh/committers.html | 2 +-
 zh/demo.html   | 2 +-
 zh/dependencies.html   | 2 +-
 zh/download-extension.html | 2 +-
 zh/download-map.html   | 2 +-
 zh/download-theme.html | 2 +-
 zh/download.html   | 4 ++--
 zh/download3.html  | 4 ++--
 zh/examples.html   | 2 +-
 zh/faq.html| 2 +-
 zh/feature.html| 2 +-
 zh/index.html  | 4 ++--
 zh/maillist.html   | 2 +-
 zh/option-gl.html  | 8 
 zh/option.html | 8 
 zh/option3.html| 8 
 zh/spreadsheet.html| 8 
 zh/tutorial.html   | 8 
 58 files changed, 106 insertions(+), 106 deletions(-)

diff --git a/components/builder.html b/components/builder.html
index 3011506..e8582a4 100644
--- a/components/builder.html
+++ b/components/builder.html
@@ -1,4 +1,4 @@
-https://echarts.apache.org/zh/images/favicon.png;>https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dis [...]
+https://echarts.apache.org/zh/images/favicon.png;>https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dis [...]
 https://cdn.jsdelivr.net/npm/pace-progressbar@1.0.2/pace.min.js";>if 
(/windows/i.test(navigator.userAgent)) {
 var el = document.createElement('style');
 el.innerHTML = ''
diff --git a/components/download.html b/components/download.html
index 52cd885..5a0a311 100644
--- a/components/download.html
+++ b/components/download.html
@@ -1,4 +1,4 @@
-https://echarts.apache.org/zh/images/favicon.png";>https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dis [...]
+https://echarts.apache.org/zh/images/favicon.png";>https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dis [...]
 https://cdn.jsdelivr.net/npm/pace-progressbar@1.0.2/pace.min.js";>if 
(/windows/i.test(navigator.userAgent)) {
 var el = document.createElement('style');
 el.innerHTML = ''
@@ -7,7 +7,7 @@
 document.head.insertBefore(el, document.getElementById('font-hack'));
 }
 下载 - Apache ECharts (incubating)https://cdn.jsdelivr.net/npm/jquery@2.2.4/dist/jquery.min.js";>
-Apache ECharts 

[incubator-echarts-website] branch asf-site updated (bde30c7 -> a653419)

2020-06-30 Thread sushuang
This is an automated email from the ASF dual-hosted git repository.

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


from bde30c7  update
 new 73cf92c  update
 new a653419  update

The 2 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:
 components/builder.html| 2 +-
 components/download.html   | 4 ++--
 en/404.html| 2 +-
 en/api.html| 8 
 en/builder.html| 2 +-
 en/builder/echarts.html| 2 +-
 en/changelog.html  | 2 +-
 en/cheat-sheet.html| 2 +-
 en/coding-standard.html| 2 +-
 en/committers.html | 2 +-
 en/dependencies.html   | 2 +-
 en/download-extension.html | 2 +-
 en/download-map.html   | 2 +-
 en/download-theme.html | 2 +-
 en/download.html   | 4 ++--
 en/faq.html| 2 +-
 en/feature.html| 2 +-
 en/index.html  | 4 ++--
 en/maillist.html   | 2 +-
 en/option-gl.html  | 8 
 en/option.html | 8 
 en/option3.html| 2 +-
 en/tutorial.html   | 8 
 examples/en/editor.html| 4 ++--
 examples/en/index.html | 4 ++--
 examples/en/view.html  | 4 ++--
 examples/zh/editor.html| 4 ++--
 examples/zh/index.html | 4 ++--
 examples/zh/view.html  | 4 ++--
 layouts/basic.html | 2 +-
 layouts/doc-old.html   | 8 
 layouts/doc.html   | 8 
 zh/404.html| 2 +-
 zh/api.html| 8 
 zh/builder.html| 2 +-
 zh/builder/echarts.html| 2 +-
 zh/builder3.html   | 2 +-
 zh/changelog.html  | 2 +-
 zh/cheat-sheet.html| 2 +-
 zh/coding-standard.html| 2 +-
 zh/committers.html | 2 +-
 zh/demo.html   | 2 +-
 zh/dependencies.html   | 2 +-
 zh/download-extension.html | 2 +-
 zh/download-map.html   | 2 +-
 zh/download-theme.html | 2 +-
 zh/download.html   | 4 ++--
 zh/download3.html  | 4 ++--
 zh/examples.html   | 2 +-
 zh/faq.html| 2 +-
 zh/feature.html| 2 +-
 zh/index.html  | 4 ++--
 zh/maillist.html   | 2 +-
 zh/option-gl.html  | 8 
 zh/option.html | 8 
 zh/option3.html| 8 
 zh/spreadsheet.html| 8 
 zh/tutorial.html   | 8 
 58 files changed, 106 insertions(+), 106 deletions(-)


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



[incubator-echarts-website] 02/02: update

2020-06-30 Thread sushuang
This is an automated email from the ASF dual-hosted git repository.

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

commit a653419e1851dc3913f5049c5c20353c72d9799e
Author: 100pah 
AuthorDate: Tue Jun 30 15:52:16 2020 +0800

update
---
 components/builder.html| 2 +-
 components/download.html   | 4 ++--
 en/404.html| 2 +-
 en/api.html| 8 
 en/builder.html| 2 +-
 en/builder/echarts.html| 2 +-
 en/changelog.html  | 2 +-
 en/cheat-sheet.html| 2 +-
 en/coding-standard.html| 2 +-
 en/committers.html | 2 +-
 en/dependencies.html   | 2 +-
 en/download-extension.html | 2 +-
 en/download-map.html   | 2 +-
 en/download-theme.html | 2 +-
 en/download.html   | 4 ++--
 en/faq.html| 2 +-
 en/feature.html| 2 +-
 en/index.html  | 4 ++--
 en/maillist.html   | 2 +-
 en/option-gl.html  | 8 
 en/option.html | 8 
 en/option3.html| 2 +-
 en/tutorial.html   | 8 
 examples/en/editor.html| 4 ++--
 examples/en/index.html | 4 ++--
 examples/en/view.html  | 4 ++--
 examples/zh/editor.html| 4 ++--
 examples/zh/index.html | 4 ++--
 examples/zh/view.html  | 4 ++--
 layouts/basic.html | 2 +-
 layouts/doc-old.html   | 8 
 layouts/doc.html   | 8 
 zh/404.html| 2 +-
 zh/api.html| 8 
 zh/builder.html| 2 +-
 zh/builder/echarts.html| 2 +-
 zh/builder3.html   | 2 +-
 zh/changelog.html  | 2 +-
 zh/cheat-sheet.html| 2 +-
 zh/coding-standard.html| 2 +-
 zh/committers.html | 2 +-
 zh/demo.html   | 2 +-
 zh/dependencies.html   | 2 +-
 zh/download-extension.html | 2 +-
 zh/download-map.html   | 2 +-
 zh/download-theme.html | 2 +-
 zh/download.html   | 4 ++--
 zh/download3.html  | 4 ++--
 zh/examples.html   | 2 +-
 zh/faq.html| 2 +-
 zh/feature.html| 2 +-
 zh/index.html  | 4 ++--
 zh/maillist.html   | 2 +-
 zh/option-gl.html  | 8 
 zh/option.html | 8 
 zh/option3.html| 8 
 zh/spreadsheet.html| 8 
 zh/tutorial.html   | 8 
 58 files changed, 106 insertions(+), 106 deletions(-)

diff --git a/components/builder.html b/components/builder.html
index e8582a4..49c7f1e 100644
--- a/components/builder.html
+++ b/components/builder.html
@@ -1,4 +1,4 @@
-https://echarts.apache.org/zh/images/favicon.png;>https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dis [...]
+https://echarts.apache.org/zh/images/favicon.png;>https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dis [...]
 https://cdn.jsdelivr.net/npm/pace-progressbar@1.0.2/pace.min.js";>if 
(/windows/i.test(navigator.userAgent)) {
 var el = document.createElement('style');
 el.innerHTML = ''
diff --git a/components/download.html b/components/download.html
index 5a0a311..dd7a4b9 100644
--- a/components/download.html
+++ b/components/download.html
@@ -1,4 +1,4 @@
-https://echarts.apache.org/zh/images/favicon.png";>https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dis [...]
+https://echarts.apache.org/zh/images/favicon.png";>https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dis [...]
 https://cdn.jsdelivr.net/npm/pace-progressbar@1.0.2/pace.min.js";>if 
(/windows/i.test(navigator.userAgent)) {
 var el = document.createElement('style');
 el.innerHTML = ''
@@ -7,7 +7,7 @@
 document.head.insertBefore(el, document.getElementById('font-hack'));
 }
 下载 - Apache ECharts (incubating)https://cdn.jsdelivr.net/npm/jquery@2.2.4/dist/jquery.min.js";>
-Apache ECharts 

[GitHub] [incubator-echarts] maicWorkGithub commented on issue #12205: yAxis 宽度无效

2020-06-30 Thread GitBox


maicWorkGithub commented on issue #12205:
URL: 
https://github.com/apache/incubator-echarts/issues/12205#issuecomment-651611134


   那文档上设置X Y轴的地方放上这些说明或者这个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



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



[GitHub] [incubator-echarts] maicWorkGithub closed issue #12205: yAxis 宽度无效

2020-06-30 Thread GitBox


maicWorkGithub closed issue #12205:
URL: https://github.com/apache/incubator-echarts/issues/12205


   



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



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



[GitHub] [incubator-echarts] sjfkai commented on issue #7802: echarts在设置geo且为世界地图的情况下,使用nameMap后无法针对特殊区域(regions属性无效)产生样式变更

2020-06-30 Thread GitBox


sjfkai commented on issue #7802:
URL: 
https://github.com/apache/incubator-echarts/issues/7802#issuecomment-651606574


   遇到同样的问题,还有什么办法为国家标颜色吗?



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



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



[GitHub] [incubator-echarts] plainheart commented on a change in pull request #12590: feat(graph): graph support multiple edges, for #6811

2020-06-30 Thread GitBox


plainheart commented on a change in pull request #12590:
URL: 
https://github.com/apache/incubator-echarts/pull/12590#discussion_r447469958



##
File path: src/chart/helper/multipleGraphEdgeHelper.js
##
@@ -0,0 +1,229 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+*
+*   http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied.  See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+
+import * as zrUtil from 'zrender/src/core/util';
+
+var KEY_DELIMITER = '-->';
+/**
+ * params handler
+ * @param {module:echarts/model/SeriesModel} seriesModel
+ * @returns {*}
+ */
+var getAutoCurvenessParams = function (seriesModel) {
+return seriesModel.get('autoCurveness') || null;
+};
+
+/**
+ * Generate a list of edge curvatures, 20 is the default
+ * @param {module:echarts/model/SeriesModel} seriesModel
+ * @param {number} appendLength
+ * @return  20 => [0, -0.2, 0.2, -0.4, 0.4, -0.6, 0.6, -0.8, 0.8, -1, 1, -1.2, 
1.2, -1.4, 1.4, -1.6, 1.6, -1.8, 1.8, -2]
+ */
+var createCurveness = function (seriesModel, appendLength) {
+var autoCurvenessParmas = getAutoCurvenessParams(seriesModel);
+var length = 20;
+var curvenessList = [];
+
+// handler the function set
+if (typeof autoCurvenessParmas === 'number') {
+length = autoCurvenessParmas;
+}
+else if (zrUtil.isArray(autoCurvenessParmas)) {
+seriesModel.__curvenessList = autoCurvenessParmas;
+return;
+}
+
+// append length
+if (appendLength > length) {
+length = appendLength;
+}
+
+// make sure the length is even
+var len = length % 2 ? length + 2 : length + 3;
+curvenessList = [];
+
+for (var i = 0; i < len; i++) {
+curvenessList.push((i % 2 ? i + 1 : i) / 10 * (i % 2 ? -1 : 1));
+}
+seriesModel.__curvenessList = curvenessList;
+};
+
+/**
+ * Create different cache key data in the positive and negative directions, in 
order to set the curvature later
+ * @param {number|string|module:echarts/data/Graph.Node} n1
+ * @param {number|string|module:echarts/data/Graph.Node} n2
+ * @param {module:echarts/model/SeriesModel} seriesModel
+ * @returns {string} key
+ */
+var getKeyOfEdges = function (n1, n2, seriesModel) {
+var source = [n1.id, n1.dataIndex].join('.');
+var target = [n2.id, n2.dataIndex].join('.');
+return [seriesModel.uid, source, target].join(KEY_DELIMITER);
+};
+
+/**
+ * get opposite key
+ * @param {string} key
+ * @returns {string}
+ */
+var getOppositeKey = function (key) {
+var keys = key.split(KEY_DELIMITER);
+return [keys[0], keys[2], keys[1]].join(KEY_DELIMITER);
+};
+
+/**
+ * get edgeMap with key
+ * @param edge
+ * @param {module:echarts/model/SeriesModel} seriesModel
+ */
+var getEdgeFromMap = function (edge, seriesModel) {
+var key = getKeyOfEdges(edge.node1, edge.node2, seriesModel);
+return seriesModel.__edgeMap[key];
+};
+
+/**
+ * calculate all cases total length
+ * @param edge
+ * @param seriesModel
+ * @returns {number}
+ */
+var getTotalLengthBetweenNodes = function (edge, seriesModel) {
+var len = getEdgeMapLengthWithKey(getKeyOfEdges(edge.node1, edge.node2, 
seriesModel), seriesModel);
+var lenV = getEdgeMapLengthWithKey(getKeyOfEdges(edge.node2, edge.node1, 
seriesModel), seriesModel);
+
+return len + lenV;
+};
+
+/**
+ *
+ * @param key
+ */
+var getEdgeMapLengthWithKey = function (key, seriesModel) {
+var edgeMap = seriesModel.__edgeMap;
+return edgeMap[key] ? edgeMap[key].length : 0;
+};
+
+/**
+ * Count the number of edges between the same two points, used to obtain the 
curvature table and the parity of the edge
+ * @see /graph/GraphSeries.js@getInitialData
+ * @param {module:echarts/model/SeriesModel} seriesModel
+ */
+export function initCurvenessList(seriesModel) {
+if (!getAutoCurvenessParams(seriesModel)) {
+return;
+}
+
+seriesModel.__curvenessList = [];
+seriesModel.__edgeMap = {};
+// calc the array of curveness List
+createCurveness(seriesModel);
+}
+
+/**
+ * set edgeMap with key
+ * @param {number|string|module:echarts/data/Graph.Node} n1
+ * @param {number|string|module:echarts/data/Graph.Node} n2
+ * @param {module:echarts/model/SeriesModel} seriesModel
+ * @param {number} index
+ */
+export function createEdgeMapForCurveness(n1, n2, seriesModel, index) {
+if 

[GitHub] [incubator-echarts] plainheart commented on a change in pull request #12590: feat(graph): graph support multiple edges, for #6811

2020-06-30 Thread GitBox


plainheart commented on a change in pull request #12590:
URL: 
https://github.com/apache/incubator-echarts/pull/12590#discussion_r447469958



##
File path: src/chart/helper/multipleGraphEdgeHelper.js
##
@@ -0,0 +1,229 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+*
+*   http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied.  See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+
+import * as zrUtil from 'zrender/src/core/util';
+
+var KEY_DELIMITER = '-->';
+/**
+ * params handler
+ * @param {module:echarts/model/SeriesModel} seriesModel
+ * @returns {*}
+ */
+var getAutoCurvenessParams = function (seriesModel) {
+return seriesModel.get('autoCurveness') || null;
+};
+
+/**
+ * Generate a list of edge curvatures, 20 is the default
+ * @param {module:echarts/model/SeriesModel} seriesModel
+ * @param {number} appendLength
+ * @return  20 => [0, -0.2, 0.2, -0.4, 0.4, -0.6, 0.6, -0.8, 0.8, -1, 1, -1.2, 
1.2, -1.4, 1.4, -1.6, 1.6, -1.8, 1.8, -2]
+ */
+var createCurveness = function (seriesModel, appendLength) {
+var autoCurvenessParmas = getAutoCurvenessParams(seriesModel);
+var length = 20;
+var curvenessList = [];
+
+// handler the function set
+if (typeof autoCurvenessParmas === 'number') {
+length = autoCurvenessParmas;
+}
+else if (zrUtil.isArray(autoCurvenessParmas)) {
+seriesModel.__curvenessList = autoCurvenessParmas;
+return;
+}
+
+// append length
+if (appendLength > length) {
+length = appendLength;
+}
+
+// make sure the length is even
+var len = length % 2 ? length + 2 : length + 3;
+curvenessList = [];
+
+for (var i = 0; i < len; i++) {
+curvenessList.push((i % 2 ? i + 1 : i) / 10 * (i % 2 ? -1 : 1));
+}
+seriesModel.__curvenessList = curvenessList;
+};
+
+/**
+ * Create different cache key data in the positive and negative directions, in 
order to set the curvature later
+ * @param {number|string|module:echarts/data/Graph.Node} n1
+ * @param {number|string|module:echarts/data/Graph.Node} n2
+ * @param {module:echarts/model/SeriesModel} seriesModel
+ * @returns {string} key
+ */
+var getKeyOfEdges = function (n1, n2, seriesModel) {
+var source = [n1.id, n1.dataIndex].join('.');
+var target = [n2.id, n2.dataIndex].join('.');
+return [seriesModel.uid, source, target].join(KEY_DELIMITER);
+};
+
+/**
+ * get opposite key
+ * @param {string} key
+ * @returns {string}
+ */
+var getOppositeKey = function (key) {
+var keys = key.split(KEY_DELIMITER);
+return [keys[0], keys[2], keys[1]].join(KEY_DELIMITER);
+};
+
+/**
+ * get edgeMap with key
+ * @param edge
+ * @param {module:echarts/model/SeriesModel} seriesModel
+ */
+var getEdgeFromMap = function (edge, seriesModel) {
+var key = getKeyOfEdges(edge.node1, edge.node2, seriesModel);
+return seriesModel.__edgeMap[key];
+};
+
+/**
+ * calculate all cases total length
+ * @param edge
+ * @param seriesModel
+ * @returns {number}
+ */
+var getTotalLengthBetweenNodes = function (edge, seriesModel) {
+var len = getEdgeMapLengthWithKey(getKeyOfEdges(edge.node1, edge.node2, 
seriesModel), seriesModel);
+var lenV = getEdgeMapLengthWithKey(getKeyOfEdges(edge.node2, edge.node1, 
seriesModel), seriesModel);
+
+return len + lenV;
+};
+
+/**
+ *
+ * @param key
+ */
+var getEdgeMapLengthWithKey = function (key, seriesModel) {
+var edgeMap = seriesModel.__edgeMap;
+return edgeMap[key] ? edgeMap[key].length : 0;
+};
+
+/**
+ * Count the number of edges between the same two points, used to obtain the 
curvature table and the parity of the edge
+ * @see /graph/GraphSeries.js@getInitialData
+ * @param {module:echarts/model/SeriesModel} seriesModel
+ */
+export function initCurvenessList(seriesModel) {
+if (!getAutoCurvenessParams(seriesModel)) {
+return;
+}
+
+seriesModel.__curvenessList = [];
+seriesModel.__edgeMap = {};
+// calc the array of curveness List
+createCurveness(seriesModel);
+}
+
+/**
+ * set edgeMap with key
+ * @param {number|string|module:echarts/data/Graph.Node} n1
+ * @param {number|string|module:echarts/data/Graph.Node} n2
+ * @param {module:echarts/model/SeriesModel} seriesModel
+ * @param {number} index
+ */
+export function createEdgeMapForCurveness(n1, n2, seriesModel, index) {
+if 

[incubator-echarts-website] branch asf-site updated: update

2020-06-30 Thread sushuang
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/asf-site by this push:
 new bde30c7  update
bde30c7 is described below

commit bde30c7faa578d2187ab1bf7c3a3a045d033
Author: 100pah 
AuthorDate: Tue Jun 30 15:28:33 2020 +0800

update
---
 README.md  | 1 +
 components/builder.html| 2 +-
 components/download.html   | 4 ++--
 en/404.html| 2 +-
 en/api.html| 8 
 en/builder.html| 2 +-
 en/builder/echarts.html| 2 +-
 en/changelog.html  | 2 +-
 en/cheat-sheet.html| 2 +-
 en/coding-standard.html| 2 +-
 en/committers.html | 2 +-
 en/dependencies.html   | 2 +-
 en/download-extension.html | 2 +-
 en/download-map.html   | 2 +-
 en/download-theme.html | 2 +-
 en/download.html   | 4 ++--
 en/faq.html| 2 +-
 en/feature.html| 2 +-
 en/index.html  | 4 ++--
 en/js/doc-bundle.js| 2 +-
 en/maillist.html   | 2 +-
 en/option-gl.html  | 8 
 en/option.html | 8 
 en/option3.html| 2 +-
 en/tutorial.html   | 8 
 examples/en/editor.html| 4 ++--
 examples/en/index.html | 4 ++--
 examples/en/view.html  | 4 ++--
 examples/zh/editor.html| 4 ++--
 examples/zh/index.html | 4 ++--
 examples/zh/view.html  | 4 ++--
 layouts/basic.html | 2 +-
 layouts/doc-old.html   | 8 
 layouts/doc.html   | 8 
 zh/404.html| 2 +-
 zh/api.html| 8 
 zh/builder.html| 2 +-
 zh/builder/echarts.html| 2 +-
 zh/builder3.html   | 2 +-
 zh/changelog.html  | 2 +-
 zh/cheat-sheet.html| 2 +-
 zh/coding-standard.html| 2 +-
 zh/committers.html | 2 +-
 zh/demo.html   | 2 +-
 zh/dependencies.html   | 2 +-
 zh/download-extension.html | 2 +-
 zh/download-map.html   | 2 +-
 zh/download-theme.html | 2 +-
 zh/download.html   | 4 ++--
 zh/download3.html  | 4 ++--
 zh/examples.html   | 2 +-
 zh/faq.html| 2 +-
 zh/feature.html| 2 +-
 zh/index.html  | 4 ++--
 zh/js/doc-bundle.js| 2 +-
 zh/maillist.html   | 2 +-
 zh/option-gl.html  | 8 
 zh/option.html | 8 
 zh/option3.html| 8 
 zh/spreadsheet.html| 8 
 zh/tutorial.html   | 8 
 61 files changed, 109 insertions(+), 108 deletions(-)

diff --git a/README.md b/README.md
index 48376b2..539a551 100644
--- a/README.md
+++ b/README.md
@@ -94,6 +94,7 @@ node build-example.js
 
 ### If `incubator-echarts-website` needs to be built and published
 
+
 **Build `echarts-www`**
 ```shell
 sh ${ECHARTS_BASE}/echarts-www/bin/release.sh --env asf
diff --git a/components/builder.html b/components/builder.html
index af1c1ed..3011506 100644
--- a/components/builder.html
+++ b/components/builder.html
@@ -1,4 +1,4 @@
-https://echarts.apache.org/zh/images/favicon.png;>https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dis [...]
+https://echarts.apache.org/zh/images/favicon.png;>https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dis [...]
 https://cdn.jsdelivr.net/npm/pace-progressbar@1.0.2/pace.min.js";>if 
(/windows/i.test(navigator.userAgent)) {
 var el = document.createElement('style');
 el.innerHTML = ''
diff --git a/components/download.html b/components/download.html
index e9f50d2..52cd885 100644
--- a/components/download.html
+++ b/components/download.html
@@ -1,4 +1,4 @@
-https://echarts.apache.org/zh/images/favicon.png";>https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dis [...]
+https://echarts.apache.org/zh/images/favicon.png";>[incubator-echarts-doc] 01/01: Merge branch 'live-example'

This is an automated email from the ASF dual-hosted git repository.

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

commit d6e7a029e39be3fad601e3915d96f33297bcdd6e
Merge: 7e5562a ef12307
Author: pissang 
AuthorDate: Tue Jun 30 15:12:02 2020 +0800

Merge branch 'live-example'

 src/App.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


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



[incubator-echarts-doc] branch master updated (7e5562a -> d6e7a02)

This is an automated email from the ASF dual-hosted git repository.

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


from 7e5562a  Merge pull request #118 from apache/live-example
 add ef12307  fix not redirect to default page bug
 new d6e7a02  Merge branch 'live-example'

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.


Summary of changes:
 src/App.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


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



[incubator-echarts-doc] branch live-example updated: fix not redirect to default page bug

This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/live-example by this push:
 new ef12307  fix not redirect to default page bug
ef12307 is described below

commit ef1230775519c7c979700c591f2b4c050bc8a13a
Author: pissang 
AuthorDate: Tue Jun 30 15:11:48 2020 +0800

fix not redirect to default page bug
---
 src/App.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/App.vue b/src/App.vue
index 72dcb8c..81c799d 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -25,7 +25,7 @@
 
 
 
-
+
 
 
 


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