[GitHub] [incubator-echarts] adu8419 commented on issue #12854: 三星手机点击事件不灵敏问题
adu8419 commented on issue #12854: URL: https://github.com/apache/incubator-echarts/issues/12854#issuecomment-651554071 好吧 谢谢你的解答。。。 不过对于你的回答我还是很有疑问, 因为 其他手机都支持的,就三星手机不灵敏(不是不能点击) 通过判断点击事件的回调中的params.name 来判断是点的某个文字 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 #12865: Documentation for tree - series -data.
plainheart closed issue #12865: URL: https://github.com/apache/incubator-echarts/issues/12865 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] 01/01: Merge pull request #118 from apache/live-example
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-doc.git commit 7e5562a847abdb9c3361f84bf384767e4404ba95 Merge: 930099c 067a093 Author: sushuang AuthorDate: Tue Jun 30 13:11:55 2020 +0800 Merge pull request #118 from apache/live-example [Feature] Interactive Option Preview build.js | 61 +- en/option/component/radar.md |4 - en/option/partial/line-style.md |2 +- en/option/series/bar.md |4 +- en/option/series/graph.md |2 - en/option/series/sunburst.md |2 +- en/option/series/treemap.md |2 +- package-lock.json | 5095 ++--- package.json | 55 +- src/App.vue | 42 +- src/asset/SourceCodePro-Regular.woff | Bin 0 -> 89796 bytes src/asset/SourceCodePro-Regular.woff2 | Bin 0 -> 62136 bytes src/asset/icon.eot| Bin 0 -> 1440 bytes src/asset/icon.svg| 11 + src/asset/icon.ttf| Bin 0 -> 1276 bytes src/asset/icon.woff | Bin 0 -> 1352 bytes src/components/DocContent.vue | 160 +- src/components/DocContentItemCard.vue | 112 +- src/components/DocNav.vue |2 +- src/components/LiveExample.vue| 464 +++ src/components/OptionControl.vue | 123 + src/controls/ControlBoolean.vue | 31 + src/controls/ControlColor.vue | 53 + src/controls/ControlColorStops.vue|0 src/controls/ControlEnum.vue | 58 + src/controls/ControlIcon.vue | 108 + src/controls/ControlNumber.vue| 46 + src/controls/ControlPercent.vue | 105 + src/controls/ControlPercentVector.vue | 79 + src/controls/ControlText.vue | 32 + src/controls/ControlVector.vue| 92 + src/dep/flatten.js| 1175 ++ src/directive/highlight.js|3 +- src/docHelper.js |2 +- src/i18n.js | 50 + src/main.js | 22 +- src/store.js | 137 +- src/style/mixin.scss | 12 +- tool/extractDesc.js | 17 +- tool/md2json.js | 151 +- zh/option/component/angle-axis.md | 71 + zh/option/component/axis-common.md| 118 +- zh/option/component/axisPointer.md| 111 + zh/option/component/calendar.md | 102 + zh/option/component/data-zoom-inside.md | 48 +- zh/option/component/data-zoom-slider.md | 52 +- zh/option/component/data-zoom.md | 21 +- zh/option/component/grid.md | 41 + zh/option/component/legend.md | 122 + zh/option/component/parallel-axis.md | 185 +- zh/option/component/parallel.md | 457 ++- zh/option/component/polar.md | 58 + zh/option/component/radar.md | 54 +- zh/option/component/radius-axis.md| 67 + zh/option/component/timeline.md | 432 ++- zh/option/component/title.md | 30 + zh/option/component/toolbox.md| 152 + zh/option/component/tooltip.md| 130 + zh/option/component/visual-map-continuous.md | 29 +- zh/option/component/visual-map-piecewise.md | 33 + zh/option/component/visual-map.md |5 - zh/option/component/x-axis.md | 43 + zh/option/component/y-axis.md | 87 + zh/option/partial/animation.md| 10 + zh/option/partial/area-style.md |2 + zh/option/partial/axisPointer-common.md | 20 + zh/option/partial/barGrid.md | 11 + zh/option/partial/circular-layout.md |4 + zh/option/partial/clip.md |2 + zh/option/partial/component-common-style.md |9 + zh/option/partial/cursor.md |2 + zh/option/partial/item-style.md |9 +- zh/option/partial/label.md| 43 +- zh/option/partial/large.md|6 + zh/option/partial/legend-hover-link.md|3 + zh/option/partial/line-style.md |9 + zh/option/partial/mark-area.md| 12 + zh/option/partial/mark-line.md| 12 + zh/option/partial/mark-point.md | 13 +- zh/option/partial/pad
[GitHub] [incubator-echarts-doc] 100pah merged pull request #118: [Feature] Interactive Option Preview
100pah merged pull request #118: URL: https://github.com/apache/incubator-echarts-doc/pull/118 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 (930099c -> 7e5562a)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git. from 930099c Merge pull request #102 from plainheart/feat-code-style-doc-zh add 580c4b1 try adding live example add eced8c2 add example code add b637746 remove quoter in key after json stringify add ef912e3 update option after editing in control ui add ba004c5 fix vector ui component add ac80528 add example panel toggle and refresh add 6d544f5 add example select add 065c226 example: put example panel in the bottom if width is not enough add 2e8a355 example: add more ui config on bar add 5068f70 example: add UI def in line add 1e8380c example: locate to the property after panel opened. add 4035a4b example: support absolute value in percent component add 8737a41 example: optimize ui component add 3a94c89 example: add on more series add 546b342 example: can set option on data. add a13aced fix levels not treated as an array. add 88e516e example: can change the option in array like levels/data add 8eade8d example: add ui on boxplot add d6d19d0 example: ui control on more series. optimize term when no examples avaiable add 11eb8ea example: add clean mode to clear before setOption add 89f8c6a example: add more UI on series add 135c466 example: UI on title, legend add 130e593 example: add UI on axis,grid,legend component add b24cc66 example: fix callback function lost during stringify add 4730b30 example: fix missing parsed code when having special char add 9835d71 example: fix code may be breaked by the marked parser add 1335a40 example: add more UI config, support custom symbol upload add cfb63e8 example: add UI on more components add 96c5a53 example: add UI on tooltip,calendar,pictorialBar add 1b72e63 example: highlight the changed lines and scroll to the changed line add 13cdf5b example: restore after example changed add 1ad786c example: make the code more looking like uneditable. add 6b7768b example:fix the style of doc and example configuration items add cf1c986 example: change icon of try it add 448e34a example: add example open button add 6c161e4 example: make font local. add d93b0fc example: support other languages add 083ddca example: add en title add 27fa7cb Merge branch 'master' into live-example add fd75659 Merge branch 'master' into live-example add ea9d8ac example: tweak style add 067a093 doc: change barBorderXXX to borderXXX in en doc new 7e5562a Merge pull request #118 from apache/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: build.js | 61 +- en/option/component/radar.md |4 - en/option/partial/line-style.md|2 +- en/option/series/bar.md|4 +- en/option/series/graph.md |2 - en/option/series/sunburst.md |2 +- en/option/series/treemap.md|2 +- package-lock.json | 5095 +++- package.json | 55 +- src/App.vue| 42 +- src/asset/SourceCodePro-Regular.woff | Bin 0 -> 89796 bytes src/asset/SourceCodePro-Regular.woff2 | Bin 0 -> 62136 bytes src/asset/icon.eot | Bin 0 -> 1440 bytes src/asset/icon.svg | 11 + src/asset/icon.ttf | Bin 0 -> 1276 bytes src/asset/icon.woff| Bin 0 -> 1352 bytes src/components/DocContent.vue | 160 +- src/components/DocContentItemCard.vue | 112 +- src/components/DocNav.vue |2 +- src/components/LiveExample.vue | 464 ++ src/components/OptionControl.vue | 123 + src/controls/ControlBoolean.vue| 31 + src/controls/ControlColor.vue | 53 + .../truncate.js => controls/ControlColorStops.vue} |0 src/controls/ControlEnum.vue | 58 + src/controls/ControlIcon.vue | 108 + src/controls/ControlNumber.vue | 46 + src/controls/ControlPercent.vue| 105 + src/controls/ControlPercentVector.vue | 79 + src/controls/ControlText.vue | 32 + src/controls/Co
[GitHub] [incubator-echarts] plainheart commented on issue #12867: timeline controlStyle *Icon配置base64图片导致游览器卡死
plainheart commented on issue #12867: URL: https://github.com/apache/incubator-echarts/issues/12867#issuecomment-651528548 能否提供一个可复现的demo?出现卡死的是什么浏览器? 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 #12867: timeline controlStyle *Icon配置base64图片导致游览器卡死
echarts-bot[bot] commented on issue #12867: URL: https://github.com/apache/incubator-echarts/issues/12867#issuecomment-651528676 @249118256 Please provide a demo for the issue either with https://codepen.io/Ovilia/pen/dyYWXWM or https://gallery.echartsjs.com/editor.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] YouYII commented on issue #10728: 折线图 坐标轴类型time,使用visualMap分段显示,分段处渐变色
YouYII commented on issue #10728: URL: https://github.com/apache/incubator-echarts/issues/10728#issuecomment-651518174 当存在多个 pieces 的时候确实存在这个问题? https://gallery.echartsjs.com/editor.html?c=xXp-lCudId&v=3 https://gallery.echartsjs.com/editor.html?c=xXp-lCudId&v=4 唯一的区别就是pieces里多了一个值图就糊了 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 edited a comment on pull request #118: [Feature] Interactive Option Preview
plainheart edited a comment on pull request #118: URL: https://github.com/apache/incubator-echarts-doc/pull/118#issuecomment-651508957 👍 What a brilliant and practical feature! This interactive documentation makes the development of ECharts more interesting and helps the developer to acquire a better and intuitive understanding of ECharts' options, thus saving their time. I do appreciate it and I'm expecting it to be online as soon as possible. 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 commented on pull request #118: [Feature] Interactive Option Preview
plainheart commented on pull request #118: URL: https://github.com/apache/incubator-echarts-doc/pull/118#issuecomment-651511007 Here https://pissang.github.io/echarts-doc-public/en/option.html#title It seems that there are some overlaps. ![image](https://user-images.githubusercontent.com/26999792/86080980-c2a36300-bac6-11ea-8b18-0dc393f1e11e.png) 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? 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 commented on pull request #118: [Feature] Interactive Option Preview
plainheart commented on pull request #118: URL: https://github.com/apache/incubator-echarts-doc/pull/118#issuecomment-651508957 👍 What a brilliant and practical feature! This interactive documentation makes the development of ECharts more interesting and helps the developer to acquire a better and intuitive understanding for ECharts‘s options, thus saving their time. I do appreciate it and I'm expecting it to be online as soon as possible. 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 #102: feat: added Chinese translation for coding-standard.
pissang edited a comment on pull request #102: URL: https://github.com/apache/incubator-echarts-doc/pull/102#issuecomment-651474529 Hi @plainheart, sorry for the late reply. Indeed, it should be `semicolon`. 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] toastbin commented on issue #10304: X Axis Label的interval设为0时,x轴最后一个label变成粗体
toastbin commented on issue #10304: URL: https://github.com/apache/incubator-echarts/issues/10304#issuecomment-651500791 同遇到这个问题,目前还是没有修复吗? @Ovilia 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 #12867: timeline controlStyle *Icon配置base64图片导致游览器卡死
echarts-bot[bot] commented on issue #12867: URL: https://github.com/apache/incubator-echarts/issues/12867#issuecomment-651496574 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] 249118256 opened a new issue #12867: timeline controlStyle *Icon配置base64图片导致游览器卡死
249118256 opened a new issue #12867: URL: https://github.com/apache/incubator-echarts/issues/12867 timeline controlStyle *Icon配置base64图片导致游览器卡死 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] 249118256 commented on issue #12867: timeline controlStyle *Icon配置base64图片导致游览器卡死
249118256 commented on issue #12867: URL: https://github.com/apache/incubator-echarts/issues/12867#issuecomment-651496685 版本4.8.0 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] zhangying2345 commented on issue #7047: 在Angular应用中使用echart,会持续占用cpu
zhangying2345 commented on issue #7047: URL: https://github.com/apache/incubator-echarts/issues/7047#issuecomment-651494246 用angular初始化echarts时需要放到监测zone外面: ` this.ngZone.runOutsideAngular(() => { echarts.init(nativeElement); }) ` 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 opened a new pull request #118: [Feature] Interactive Option Preview
pissang opened a new pull request #118: URL: https://github.com/apache/incubator-echarts-doc/pull/118 This is a feature inspired by https://nivo.rocks/bar/ It provides the ability to tweak the option value through interactive UI and preview what will affect on the preview panel. Click the Try It(试一试) to open the preview panel. ![open](https://user-images.githubusercontent.com/841551/86078040-c41d5d00-babf-11ea-8229-dcd96b6485fc.gif) Adjust border width with number input ![adjust-border-width](https://user-images.githubusercontent.com/841551/86078039-c384c680-babf-11ea-9762-f0173e6370d6.gif) Adjust color with color palette ![adjust-color](https://user-images.githubusercontent.com/841551/86078038-c2ec3000-babf-11ea-9e94-8973136e7fc9.gif) Adjust border-radius with number input. ![adjust-border-radius](https://user-images.githubusercontent.com/841551/86078036-c2539980-babf-11ea-978a-56c0356963a4.gif) Adjust bar width with percent slider ![adjust-bar-width](https://user-images.githubusercontent.com/841551/86078032-c089d600-babf-11ea-87bc-79208db7acaf.gif) Online preview: https://pissang.github.io/echarts-doc-public/en/option.html#title 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 live-example updated: doc: change barBorderXXX to borderXXX in en doc
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 067a093 doc: change barBorderXXX to borderXXX in en doc 067a093 is described below commit 067a093e11d91566133274a17aa61c1994b87950 Author: pissang AuthorDate: Tue Jun 30 10:36:09 2020 +0800 doc: change barBorderXXX to borderXXX in en doc --- en/option/series/bar.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/option/series/bar.md b/en/option/series/bar.md index f756b3b..1aa31ae 100644 --- a/en/option/series/bar.md +++ b/en/option/series/bar.md @@ -183,11 +183,11 @@ The style setting of the text label in a single bar. Bar color. {{ if: ${useColorPalatte} }} By default, colors from global palette [option.color](~color) is used. {{/if}} -#${prefix} barBorderColor(Color) = '#000' +#${prefix} borderColor(Color) = '#000' The border color of bar. -#${prefix} barBorderWidth(number) = 0 +#${prefix} borderWidth(number) = 0 The border width of bar. defaults to have no border. - 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 (27fa7cb -> ea9d8ac)
This is an automated email from the ASF dual-hosted git repository. shenyi pushed a change to branch live-example in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git. from 27fa7cb Merge branch 'master' into live-example add cfeb1fd feat: added Chinese translation for coding-standard and updated build script. add a763df7 fix: added a custom renderer for supporting Chinese character for building code standard html files. add 88c3a71 fix: use normal function but not arrow function. add 4645a73 Merge branch 'master' of https://github.com/apache/incubator-echarts-doc into feat-code-style-doc-zh add 2f313ae tweak: `comma` should be `semicolon` in Statement. add 930099c Merge pull request #102 from plainheart/feat-code-style-doc-zh new fd75659 Merge branch 'master' into live-example new ea9d8ac example: tweak style 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: build.js | 25 +++-- en/coding-standard.md | 6 +- src/components/LiveExample.vue | 4 +- {en => zh}/coding-standard.md | 223 - 4 files changed, 133 insertions(+), 125 deletions(-) copy {en => zh}/coding-standard.md (56%) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[incubator-echarts-doc] 01/02: Merge branch 'master' into live-example
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 commit fd756597f9a38deb5edf587c48e4a4495839ba8d Merge: 27fa7cb 930099c Author: pissang AuthorDate: Tue Jun 30 10:22:02 2020 +0800 Merge branch 'master' into live-example build.js | 25 +++-- en/coding-standard.md | 6 +- {en => zh}/coding-standard.md | 223 +- 3 files changed, 131 insertions(+), 123 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[incubator-echarts-doc] 02/02: example: tweak style
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 commit ea9d8acc5a632ad47a5a3dab962e03c2f0cdec2f Author: pissang AuthorDate: Tue Jun 30 10:26:01 2020 +0800 example: tweak style --- src/components/LiveExample.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/LiveExample.vue b/src/components/LiveExample.vue index f7ce7fe..51bda78 100644 --- a/src/components/LiveExample.vue +++ b/src/components/LiveExample.vue @@ -419,11 +419,11 @@ export default { .toolbar { position: absolute; -top: 20px; +top: 15px; right: 10px; .example-list { -width: 220px; +width: 180px; } } - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts-doc] Ovilia commented on pull request #102: feat: added Chinese translation for coding-standard.
Ovilia commented on pull request #102: URL: https://github.com/apache/incubator-echarts-doc/pull/102#issuecomment-651481826 @plainheart Great job! Really appreciate it! 👍 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 #102: feat: added Chinese translation for coding-standard.
pissang edited a comment on pull request #102: URL: https://github.com/apache/incubator-echarts-doc/pull/102#issuecomment-651474529 Hi @plainheart, sorry for the late reply. Indeed, it should be `semicolon`. Will fix it after merged this PR 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 (e387a74 -> 930099c)
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 e387a74 fix(tree): fixed the issue reported in incubator-echarts#12865. new cfeb1fd feat: added Chinese translation for coding-standard and updated build script. new a763df7 fix: added a custom renderer for supporting Chinese character for building code standard html files. new 88c3a71 fix: use normal function but not arrow function. new 4645a73 Merge branch 'master' of https://github.com/apache/incubator-echarts-doc into feat-code-style-doc-zh new 2f313ae tweak: `comma` should be `semicolon` in Statement. new 930099c Merge pull request #102 from plainheart/feat-code-style-doc-zh The 1674 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: build.js | 25 +++-- en/coding-standard.md | 6 +- {en => zh}/coding-standard.md | 223 +- 3 files changed, 131 insertions(+), 123 deletions(-) copy {en => zh}/coding-standard.md (56%) - 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 #102: feat: added Chinese translation for coding-standard.
pissang merged pull request #102: URL: https://github.com/apache/incubator-echarts-doc/pull/102 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 #12854: 三星手机点击事件不灵敏问题
Ovilia commented on issue #12854: URL: https://github.com/apache/incubator-echarts/issues/12854#issuecomment-651476346 文字目前不支持点击事件,5.0 会支持。 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 #102: feat: added Chinese translation for coding-standard.
pissang commented on pull request #102: URL: https://github.com/apache/incubator-echarts-doc/pull/102#issuecomment-651474529 Hi @plainheart, sorry for the late reply. Indeed, it should be `semicolon`. 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] 01/01: Merge branch 'master' into live-example
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 commit 27fa7cb71091180de9db322068f821c607ed3224 Merge: 083ddca e387a74 Author: pissang AuthorDate: Tue Jun 30 10:02:38 2020 +0800 Merge branch 'master' into live-example en/api/echarts-instance.md| 14 +-- en/api/echarts.md | 14 +-- en/api/events.md | 2 +- en/option/component/radar.md | 1 + en/option/component/toolbox.md| 2 +- en/option/component/visual-map-piecewise.md | 2 +- en/option/component/visual-map.md | 4 +- en/option/partial/2d-data.md | 2 +- en/option/series/custom.md| 4 +- en/option/series/gauge.md | 6 +- en/option/series/sankey.md| 26 -- en/option/series/scatter.md | 1 + en/option/series/themeRiver.md| 2 + en/option/series/tree.md | 2 +- en/tutorial/custom-build.md | 6 +- en/tutorial/custom-series.md | 28 ++ en/tutorial/data-zoom.md | 9 +- en/tutorial/dataset.md| 105 +++-- en/tutorial/drag-example.md | 11 +-- en/tutorial/getting-started.md| 4 +- en/tutorial/media-query.md| 19 ++-- en/tutorial/npm-webpack.md| 2 +- en/tutorial/renderer.md | 6 +- en/tutorial/rich-text.md | 51 ++ en/tutorial/style-overview.md | 4 +- en/tutorial/visual-map.md | 12 +-- slides/ani/asset/common/echarts.min.js| 10 +- slides/arch-brief/asset/common/echarts.min.js | 10 +- slides/custom/asset/common/echarts.js | 12 +-- zh/api/echarts-instance.md| 8 +- zh/api/echarts.md | 14 +-- zh/api/events.md | 2 +- zh/option/component/axis-common.md| 2 +- zh/option/component/radar.md | 1 + zh/option/component/toolbox.md| 2 +- zh/option/option.md | 2 +- zh/option/partial/2d-data.md | 4 +- zh/option/series/custom.md| 2 +- zh/option/series/gauge.md | 4 +- zh/option/series/sankey.md| 6 +- zh/option/series/scatter.md | 1 + zh/option/series/themeRiver.md| 2 + zh/tutorial/custom-build.md | 6 +- zh/tutorial/custom-series.md | 27 ++ zh/tutorial/data-zoom.md | 7 +- zh/tutorial/dataset.md| 129 +- zh/tutorial/drag-example.md | 9 +- zh/tutorial/echarts-gl.md | 70 +++--- zh/tutorial/getting-started.md| 4 +- zh/tutorial/graphic.md| 3 +- zh/tutorial/media-query.md| 10 +- zh/tutorial/rich-text.md | 50 ++ zh/tutorial/style-overview.md | 4 +- zh/tutorial/visual-map.md | 8 +- 54 files changed, 243 insertions(+), 505 deletions(-) diff --cc zh/option/series/gauge.md index b6181a4,36aff76..9d227ae --- a/zh/option/series/gauge.md +++ b/zh/option/series/gauge.md @@@ -6,21 -6,8 +6,21 @@@ **仪表盘** **示例:** - ~[600x500](${galleryViewPath}gauge-car) + ~[600x500](${galleryViewPath}gauge-car&reset=1&edit=1) + +const option = { +series: [ +{ +name: 'Indicator', +type: 'gauge', +detail: {formatter: '{value}%'}, +data: [{value: 50, name: 'Percent'}] +} +] +}; + + ## type(string) = 'gauge' {{use: partial-component-id(prefix="#")}} @@@ -30,19 -17,11 +30,19 @@@ {{ use: partial-circular-layout }} ## radius(number|string) = '75%' + + + 仪表盘半径,可以是相对于容器高宽中较小的一项的一半的百分比,也可以是绝对的数值。 - {{ use partial-legend-hover-link }} + {{ use: partial-legend-hover-link }} ## startAngle(number) = 225 + + + + + 仪表盘起始角度。[圆心](~series-gauge.center) 正右手侧为`0`度,正上方为`90`度,正左手侧为`180`度。 ## endAngle(number) = -45 - 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 (083ddca -> 27fa7cb)
This is an automated email from the ASF dual-hosted git repository. shenyi pushed a change to branch live-example in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git. from 083ddca example: add en title add 1d46c8b fix: enhance section title. add d06ecb2 fix: added missing option `axisLabel.distance` for Gauge series. add 8996936 Merge pull request #105 from plainheart/add-missing-distance-option-for-gauge add dc605ff fix: fixed some link errors. add 72ff9b3 Merge pull request #104 from plainheart/fix-link-custom add 9e58f86 add name, nodeAlign to sankey add a628456 Merge pull request #107 from softwords/sankey add 09cb3b7 fix(sankey): added missing `name` option. add 94b99c1 Merge pull request #108 from plainheart/patch-1 add c8a4615 Add textStyle to radar.name add eeaa573 fix(axisPointer): change en to zh. add 93cd241 Merge pull request #110 from apache/plainheart-patch-1 add e07b5b2 fix(gauge): added missing buttons in gauge example. add 7238337 Merge pull request #111 from plainheart/fix/add-missing-buttons-in-gauge-example add 7e212f1 Replace defualt with default (fixing typo) add a28cdce Merge pull request #112 from xmatthias/replace_default_comments add 389d8bd fix(gauge): added missing colon in option of Gauge Series, which leads the losing of `legendHoverLink`. add 4eade7f Merge pull request #113 from plainheart/fix-gauge add 152da73 Add missing colon add 254117d Add semicolon add 714efac Merge pull request #114 from susiwen8/init add a43fecd fix: link uses zh-CN but not en-US in Chinese documentation. add 8f6e2e9 Merge pull request #115 from apache/plainheart/patch-1 add 28d5c15 fix: (1) fixed incorrect and broken links. (2) removed some special characters in gl option. (3) tweaked apache#114: replace semicolon with comma. (4) added missing symbols. add ec3bfaa fix: removed special character in gl option. add db09fb0 Merge pull request #116 from plainheart/fix-links add 8d5b8d8 fix(themeRiver): add 'name' add 94f6f4f Merge pull request #117 from softwords/themeriver add afec204 tweak doc add 26dbcb9 fix: added missing param `extra` for 2d-data-label-formatter. add 5285f05 tweak: remove redundant full stop. add 0eba0bc fix(scatter): added missing default value for opacity in itemStyle. add e387a74 fix(tree): fixed the issue reported in incubator-echarts#12865. new 27fa7cb Merge branch 'master' into 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: en/api/echarts-instance.md| 14 +-- en/api/echarts.md | 14 +-- en/api/events.md | 2 +- en/option/component/radar.md | 1 + en/option/component/toolbox.md| 2 +- en/option/component/visual-map-piecewise.md | 2 +- en/option/component/visual-map.md | 4 +- en/option/partial/2d-data.md | 2 +- en/option/series/custom.md| 4 +- en/option/series/gauge.md | 6 +- en/option/series/sankey.md| 26 -- en/option/series/scatter.md | 1 + en/option/series/themeRiver.md| 2 + en/option/series/tree.md | 2 +- en/tutorial/custom-build.md | 6 +- en/tutorial/custom-series.md | 28 ++ en/tutorial/data-zoom.md | 9 +- en/tutorial/dataset.md| 105 +++-- en/tutorial/drag-example.md | 11 +-- en/tutorial/getting-started.md| 4 +- en/tutorial/media-query.md| 19 ++-- en/tutorial/npm-webpack.md| 2 +- en/tutorial/renderer.md | 6 +- en/tutorial/rich-text.md | 51 ++ en/tutorial/style-overview.md | 4 +- en/tutorial/visual-map.md | 12 +-- slides/ani/asset/common/echarts.min.js| 10 +- slides/arch-brief/asset/common/echarts.min.js | 10 +- slides/custom/asset/common/echarts.js | 12 +-- zh/api/echarts-instance.md| 8 +- zh/api/echarts.md | 14 +-- zh/api/events.md | 2 +- zh/option/component/axis-common.md| 2 +- zh/option/component/radar.md | 1 + zh/option/component/toolbox.md| 2 +- zh/option/option.md | 2 +- zh/option/partial/2d-data.md | 4 +- zh/option/series/custom.md
[GitHub] [incubator-echarts] plainheart commented on issue #12865: Documentation for tree - series -data.
plainheart commented on issue #12865: URL: https://github.com/apache/incubator-echarts/issues/12865#issuecomment-651469261 Fixed in https://github.com/apache/incubator-echarts-doc/commit/e387a7404ebc6f83a6f09e9e0ed5d73c5849aa9e Related updates of online documentation may need to wait until ECharts 4.9.0 releases. If you can't wait to read the latest documentation, it's suggested to clone the [documentation repository](https://github.com/apache/incubator-echarts-doc) and then run it according to the [README](https://github.com/apache/incubator-echarts-doc#document-content-development). Here is a screenshot ![image](https://user-images.githubusercontent.com/26999792/86073632-bdd6b300-bab6-11ea-8db6-7c9f4ac22d06.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 - 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: fix(tree): fixed the issue reported in incubator-echarts#12865.
This is an automated email from the ASF dual-hosted git repository. wangzx 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 e387a74 fix(tree): fixed the issue reported in incubator-echarts#12865. e387a74 is described below commit e387a7404ebc6f83a6f09e9e0ed5d73c5849aa9e Author: plainheart AuthorDate: Tue Jun 30 09:35:15 2020 +0800 fix(tree): fixed the issue reported in incubator-echarts#12865. --- en/option/series/tree.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/option/series/tree.md b/en/option/series/tree.md index 5e81f6a..5afb15f 100644 --- a/en/option/series/tree.md +++ b/en/option/series/tree.md @@ -62,7 +62,7 @@ The direction of the `orthogonal` layout in the tree diagram. That means this co ) }} -# edgeShape(string) = 'curve' +## edgeShape(string) = 'curve' {{ use: partial-version(version = "4.7.0") }} The shape of the edge which is under the tree `orthogonal layout`. There are two types of shape, curve and polyline, the corresponding values are `'curve'` and `'polyline'`. - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] tomsoftware edited a comment on issue #12605: Plot the variance of signals
tomsoftware edited a comment on issue #12605: URL: https://github.com/apache/incubator-echarts/issues/12605#issuecomment-651464502 this is not supported yet - see feature request: #12592 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] tomsoftware commented on issue #12605: Plot the variance of signals
tomsoftware commented on issue #12605: URL: https://github.com/apache/incubator-echarts/issues/12605#issuecomment-651464502 this is not supported yet - see: #12592 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] susiwen8 commented on issue #12205: yAxis 宽度无效
susiwen8 commented on issue #12205: URL: https://github.com/apache/incubator-echarts/issues/12205#issuecomment-651463178 这是 echarts 位置计算一个问题,也是用canvas绘图的一个头疼问题,绘制的图像在画布之外。因为绘制起点是定在 y轴中心线,设置宽度是从中心线往两边拓展,如果是设置`20px`, canvas 绘制从中心线往两边各绘制`10px`, 那么左边的`10px`就在画布之外了 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 edited a comment on issue #12205: yAxis 宽度无效
maicWorkGithub edited a comment on issue #12205: URL: https://github.com/apache/incubator-echarts/issues/12205#issuecomment-651461152 这个的确解决了这个问题,但是这个规则太隐晦了吧,能不能设计一个更好一点的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 - 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 #12866: 官网实例3D散点图中的3D Scatter with Dataset的Y轴似乎反过来了?
echarts-bot[bot] commented on issue #12866: URL: https://github.com/apache/incubator-echarts/issues/12866#issuecomment-651461479 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] fenrir-master opened a new issue #12866: 官网实例3D散点图中的3D Scatter with Dataset的Y轴似乎反过来了?
fenrir-master opened a new issue #12866: URL: https://github.com/apache/incubator-echarts/issues/12866 ### Version 4.8.0 ### Reproduction link [https://echarts.apache.org/examples/zh/editor.html?c=scatter3D-dataset&gl=1](https://echarts.apache.org/examples/zh/editor.html?c=scatter3D-dataset&gl=1) ### Steps to reproduce 三个轴的最小值都为50时,没有看到预想中的方形 ### What is expected? 按理说三个维度的最小值应该从同一个点出发 ### What is actually happening? Y轴的最小值出发点不合理 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 commented on issue #12205: yAxis 宽度无效
maicWorkGithub commented on issue #12205: URL: https://github.com/apache/incubator-echarts/issues/12205#issuecomment-651461152 这个的确解决了这个问题,但是这个规则太隐晦了吧,我觉得应该设计一个更好一点的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 - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [incubator-echarts] peach5460 edited a comment on issue #12851: dragging以后position错误
peach5460 edited a comment on issue #12851: URL: https://github.com/apache/incubator-echarts/issues/12851#issuecomment-647892763 进一步的问题,伪代码如下: 伪代码 ``` function onShapeDragend(e) { //...获取polygon // 遍历polygon的点,将position叠加上去 for (let index = 0; index < points.length; index++) { points[index][0] = points[index][0] + this.position[0]; points[index][1] = points[index][1] + this.position[1]; } // 替换原来的polygon的点 myChart.setOption({ graphic: [ { id: id, shape: { points: points }, position: [0, 0], }, ], }); } ``` 如果我再dragend事件里,将这个polygon的坐标手动叠加position,然后将position强制设为【0,0】,拖动几次以后,整个echart的基本对象坐标体系就全乱了,polygon再也选不中了(绘制的位置和鼠标拾取的位置不在一个地方)。 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] cddsgtc edited a comment on issue #11023: 柱形图(bar)图例数据出现“0”时不能渲染图表
cddsgtc edited a comment on issue #11023: URL: https://github.com/apache/incubator-echarts/issues/11023#issuecomment-651457530 我也遇到了同样问题但是已经解决。 **原因** 我个人使用的是dataset来指定获取数据, 在dataset中的末尾多了一个’,‘(逗号)。 ```ts dataset: { source: [ [ '山东', 901003 ], [ '江苏', 100 ], [ '广东', 120 ], [ '宁夏', 500021 ], [ '甘肃', 603212 ], ], }, ``` 改为 ```ts dataset: { source: [ [ '山东', 901003 ], [ '江苏', 100 ], [ '广东', 120 ], [ '宁夏', 500021 ], [ '甘肃', 603212 ] ] }, ``` 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] cddsgtc commented on issue #11023: 柱形图(bar)图例数据出现“0”时不能渲染图表
cddsgtc commented on issue #11023: URL: https://github.com/apache/incubator-echarts/issues/11023#issuecomment-651457530 我也遇到了同样问题但是已经解决。 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 #12865: Documentation for tree - series -data.
plainheart commented on issue #12865: URL: https://github.com/apache/incubator-echarts/issues/12865#issuecomment-651448232 Sorry for the lack of a description about how to prepare data of tree series in English documentation. We will add it soon. 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
plainheart commented on a change in pull request #12590: URL: https://github.com/apache/incubator-echarts/pull/12590#discussion_r447325330 ## File path: src/chart/graph/GraphSeries.js ## @@ -25,6 +25,8 @@ import Model from '../../model/Model'; import {encodeHTML} from '../../util/format'; import createGraphFromNodeEdge from '../helper/createGraphFromNodeEdge'; import LegendVisualProvider from '../../visual/LegendVisualProvider'; +import {initCurvenessList} from '../helper/multipleGraphEdgeHelper'; +import {createEdgeMapForCurveness} from '../../chart/helper/multipleGraphEdgeHelper'; Review comment: Could be merged as following ```js import {initCurvenessList, createEdgeMapForCurveness} from '../helper/multipleGraphEdgeHelper'; ``` ## File path: src/data/Graph.js ## @@ -137,9 +137,10 @@ graphProto.getNodeById = function (id) { * @param {number|string|module:echarts/data/Graph.Node} n1 * @param {number|string|module:echarts/data/Graph.Node} n2 * @param {number} [dataIndex=-1] + * @param {module:echarts/model/SeriesModel} seriesModel * @return {module:echarts/data/Graph.Edge} */ -graphProto.addEdge = function (n1, n2, dataIndex) { +graphProto.addEdge = function (n1, n2, dataIndex, seriesModel) { Review comment: The parameter `seriesModel` looks unused, consider removing it. ## File path: src/chart/graph/forceLayout.js ## @@ -84,11 +85,16 @@ export default function (ecModel) { d = (edgeLength[0] + edgeLength[1]) / 2; } var edgeModel = edge.getModel(); +var curveness = zrUtil.retrieve3( +edge.getModel().get('lineStyle.curveness'), Review comment: `edge.getModel()` could be replaced by the variable `edgeModel` declared in previous code line. ## File path: src/chart/helper/createGraphFromNodeEdge.js ## @@ -39,12 +39,14 @@ export default function (nodes, edges, seriesModel, directed, beforeLink) { var linkNameList = []; var validEdges = []; var linkCount = 0; + for (var i = 0; i < edges.length; i++) { var link = edges[i]; var source = link.source; var target = link.target; + // addEdge may fail when source or target not exists -if (graph.addEdge(source, target, linkCount)) { +if (graph.addEdge(source, target, linkCount, seriesModel)) { Review comment: The parameter `seriesModel` looks unused, consider removing it. 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 pull request #12590: feat(graph): graph support multiple edges, for #6811
plainheart commented on pull request #12590: URL: https://github.com/apache/incubator-echarts/pull/12590#issuecomment-651401983 :+1: Documentation about this new feature is waiting to be added. 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 opened a new issue #12865: Documentation for tree - series -data.
eerenyuan opened a new issue #12865: URL: https://github.com/apache/incubator-echarts/issues/12865 ### What problem does this feature solve? It's unclear how to prepare data for "tree" (not tree-map). In the documentation, there is no "data" section under tree - sereis. I notice that a lof of options that is available in other view types (e.g. tree-map) is not working in tree. ### What does the proposed API look like? similar to other view type, a section to explain how to prepare data for "tree" views, especially it's unique features. 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 #12865: Documentation for tree - series -data.
echarts-bot[bot] commented on issue #12865: URL: https://github.com/apache/incubator-echarts/issues/12865#issuecomment-651253397 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
[incubator-echarts-website] branch asf-site updated: update
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 9741a7c update 9741a7c is described below commit 9741a7ca918d2efa3abfc76652aae05c62ebafc3 Author: 100pah AuthorDate: Tue Jun 30 01:05:45 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 | 6 +++--- 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, 108 insertions(+), 108 deletions(-) diff --git a/components/builder.html b/components/builder.html index d105a96..99f7e8c 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 2f58771..c2ec03b 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 ECh
[GitHub] [incubator-echarts] 100pah commented on issue #12864: [DISCUSS] To find better solutions for detecting touchable device
100pah commented on issue #12864: URL: https://github.com/apache/incubator-echarts/issues/12864#issuecomment-651224808 @plainheart @wf123537200 It's indeed a headache problem. I used to fix this kind of issue for some Windows touching device that both support touch and mouse (like Surface). But it still difficult to cover all of the cases. And it makes things worse that there are always no such type of devices to test. So I think it's a practical way to provide an option for users to control that. Not neat, but probably works. But not sure how that option like. Like you said, the option could be `opt.touchEventsSupported`. But at present even though `touchEventsSupported` is set as `true`, zrender still may not use touch event (if pointer event is detected as supported). So is it a better idea that make the option more straight forward like: ```ts opt: { nativeEventSystem: 'touch' | 'pointer' | 'mouse' } ``` + If `nativeEventSystem` is specified as 'touch', we manually set `env.touchEventsSupported = true` and `env.pointerEventsSupported = false`. + If `nativeEventSystem` is specified as 'pointer', we manually set `env.pointerEventsSupported = true`. + If `nativeEventSystem` is specified as 'mouse' or not specified, we manually set `env.touchEventsSupported = false` and `env.pointerEventsSupported = false`. Not sure for that. @pissang @Ovilia any better ideas? 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] 100pah edited a comment on issue #12864: [DISCUSS] To find better solutions for detecting touchable device
100pah edited a comment on issue #12864: URL: https://github.com/apache/incubator-echarts/issues/12864#issuecomment-651224808 @plainheart @wf123537200 It's indeed a headache problem. I used to fix this kind of issue for some Windows touching device that both support touch and mouse (like Surface). But it still difficult to cover all of the cases. And it makes things worse that there are always no such type of devices to test. So I think it's a practical way to provide an option for users to control that. Not neat, but probably works. But not sure what that option like. Like you said, the option could be `opt.touchEventsSupported`. But at present even though `touchEventsSupported` is set as `true`, zrender still may not use touch event (if pointer event is detected as supported). So is it a better idea that make the option more straight forward like: ```ts opt: { nativeEventSystem: 'touch' | 'pointer' | 'mouse' } ``` + If `nativeEventSystem` is specified as 'touch', we manually set `env.touchEventsSupported = true` and `env.pointerEventsSupported = false`. + If `nativeEventSystem` is specified as 'pointer', we manually set `env.pointerEventsSupported = true`. + If `nativeEventSystem` is specified as 'mouse' or not specified, we manually set `env.touchEventsSupported = false` and `env.pointerEventsSupported = false`. Not sure for that. @pissang @Ovilia any better ideas? 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] creadone commented on issue #12592: Drawing Envelopes in Line Charts
creadone commented on issue #12592: URL: https://github.com/apache/incubator-echarts/issues/12592#issuecomment-651201240 I tried to make the similar visual with custom series. @tomsoftware, maybe you find something useful until desired feature not implemented official. https://stackoverflow.com/questions/61724715/echarts-plot-the-variance-of-signals 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] 100pah edited a comment on pull request #12859: feat: time axis label formatter
100pah edited a comment on pull request #12859: URL: https://github.com/apache/incubator-echarts/pull/12859#issuecomment-651196156 @Ovilia Add something that could be considered: ## (I) The callback of `axisLabel.fomatter` may be also need to add some params? For example: ```js xAxis: { type: 'time' formatter: function (value, idx, params) { // need to know here: // (1) this label is on a primary level tick or a secondary level tick // (2) what the level is ('day' or 'month' or ...) } } ``` ## (II) > The string can either be a plain text like '{hh}:{mm}:{ss}' or a rich text like strong | '{hh}:{mm}' and define the rich style strong in formatter. Follow the current way of "reference the variable" like `{strong|xxx{value}xxx}`, I think the format would be: `{strong|xxx{hh}:{mm}xxx}` (no need quote mark) ## (III) > We can provide frequently used time formats like for full year, MM for month number and so on. Moment.js and can be served as references. If users intend to use `Moment.js`, do we prefer users to (a) "use Moment in the `formatter` callback" ? or (b) "use Moment as a plugin for formatter pattern" ? If (a), nothing need to considered in this feature design. If (b), that means users can use Moment notations in our "formatter patterns". Thus we need to consider the conflicts between the notation from third party libs and our existing notations. (for example, suppose the third party lib uses "a" to represent something, but in echarts "formatter patterns" `{a}` has been reserve to other meanings.) If we want to avoid this conflict, may be other time-specific prefix need to considered in formatter pattern. For example: `{%MM}:{%dd}`, where % is only used for time notation. ## (IV) For i18n, probably we could simply add some new built-in notations? (not sure) For example: + `{MMM}`: represents: zh: `2月` , en: `Feb` + `{}`: represents: zh: `二月`, en: `February` + `{do}`: represents: zh: `5日`, en: `5th` + `{ee}`: represents: zh: `二`, en: `Tu` + `{eee}`: represents: zh: `周二`, en: `Tue` + `{}`: represents: zh: `星期二`, en: `Tuesday` 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] 100pah edited a comment on pull request #12859: feat: time axis label formatter
100pah edited a comment on pull request #12859: URL: https://github.com/apache/incubator-echarts/pull/12859#issuecomment-651196156 @Ovilia Add something that could be considered: ## (I) The callback of `axisLabel.fomatter` may be also need to add some params? For example: ```js xAxis: { type: 'time' formatter: function (value, idx, params) { // need to know here: // (1) this label is on a primary level tick or a secondary level tick // (2) what the level is ('day' or 'month' or ...) } } ``` ## (II) > The string can either be a plain text like '{hh}:{mm}:{ss}' or a rich text like strong | '{hh}:{mm}' and define the rich style strong in formatter. Follow the current way of "reference the variable" like `{strong|xxx{value}xxx}`, I think the format would be: `{strong|xxx{hh}:{mm}xxx}` (no need quote mark) ## (III) > We can provide frequently used time formats like for full year, MM for month number and so on. Moment.js and can be served as references. If users intend to use `Moment.js`, do we prefer users to (a) "use Moment in the `formatter` callback" ? or (b) "use Moment as a plugin for formatter pattern" ? If (a), nothing need to considered in this feature design. If (b), that means users can use Moment notations in our "formatter patterns". Thus we need to consider the conflicts between the notation from third party libs and our existing notations. (for example, suppose the third party lib uses "a" to represent something, but in echarts "formatter patterns" `{a}` has been reserve to other meanings.) If we want to avoid this conflict, may be other time-specific prefix need to considered in formatter pattern. For example: `{%MM}:{%dd}`, where % is only used for time notation. ## (IV) For i18n, probably we could simply add some new built-in notations? (not sure) For example: + `{MMM}`: represents: zh: `2月` , en: `Feb` + `{}`: represents: zh: `二月`, en: `February` + `{ddd}`: represents: zh: `5日`, en: `5th` + `{ee}`: represents: zh: `二`, en: `Tu` + `{eee}`: represents: zh: `周二`, en: `Tue` + `{}`: represents: zh: `星期二`, en: `Tuesday` 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] 100pah commented on pull request #12859: feat: time axis label formatter
100pah commented on pull request #12859: URL: https://github.com/apache/incubator-echarts/pull/12859#issuecomment-651196156 @Ovilia Add something that could be considered: ## (I) The callback of `axisLabel.fomatter` may be also need to add some params? For example: ```js xAxis: { type: 'time' formatter: function (value, idx, params) { // need to know here: // (1) this label is on a primary level tick or a secondary level tick // (2) what the level is ('day' or 'month' or ...) } } ``` ## (II) > The string can either be a plain text like '{hh}:{mm}:{ss}' or a rich text like strong | '{hh}:{mm}' and define the rich style strong in formatter. Follow the current way of "reference the variable" like `{strong|xxx{value}xxx}`, I think the format would be: `{strong|xxx{hh}:{mm}xxx}` (no need quote mark) ## (III) > We can provide frequently used time formats like for full year, MM for month number and so on. Moment.js and can be served as references. If users intend to use `Moment.js`, do we prefer users to (a) "use Moment in the `formatter` callback" ? or (b) "use Moment as a plugin for formatter pattern" ? If (a), nothing need to considered in this feature design. If (b), that means users can use Moment notations in our "formatter patterns". Thus we need to consider the conflicts between the notation from third party libs and our existing notations. (for example, suppose the third party lib uses "a" to represent something, but in echarts "formatter patterns" `{a}` has been reserve to other meanings.) If we want to avoid this conflict, may be other time-specific prefix need to considered in formatter pattern. For example: `{%MM}:{%dd}`, where % is only used for time notation. ## (IV) For i18n, probably we could simply add some new built-in notations? (not sure) For example: + `{MMM}`: represents: zh: `2月` , en: `Feb` + `{}`: represents: zh: `二月`, en: `February` + `{ddd}`: represents: zh: `5日`, en: `5th` + `{ee}`: represents: zh: `二`, en: `Tu` + `{eee}`: represents: zh: `星期二`, en: `Tue` + `{}`: represents: zh: `星期二`, en: `Tuesday` 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] susiwen8 commented on issue #12205: yAxis 宽度无效
susiwen8 commented on issue #12205: URL: https://github.com/apache/incubator-echarts/issues/12205#issuecomment-651182020 Y axis will be cut into half by canvas container when there are no label. Workaround: set `grid.left` value to half of y axis line width 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] ownedbypeli commented on issue #12833: How can i have 2 data lines at the xAxis?
ownedbypeli commented on issue #12833: URL: https://github.com/apache/incubator-echarts/issues/12833#issuecomment-651132955 @kkarimalami sorry? 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 live-example updated: example: add en title
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 083ddca example: add en title 083ddca is described below commit 083ddca56fcf895b4455d19e7f771377f014c848 Author: pissang AuthorDate: Mon Jun 29 20:00:15 2020 +0800 example: add en title --- build.js | 6 +++--- src/components/LiveExample.vue | 2 +- src/i18n.js | 2 +- zh/option/component/angle-axis.md| 4 ++-- zh/option/component/axisPointer.md | 2 +- zh/option/component/calendar.md | 2 +- zh/option/component/data-zoom-inside.md | 2 +- zh/option/component/data-zoom-slider.md | 2 +- zh/option/component/grid.md | 2 +- zh/option/component/legend.md| 4 ++-- zh/option/component/parallel-axis.md | 2 +- zh/option/component/parallel.md | 2 +- zh/option/component/polar.md | 2 +- zh/option/component/radar.md | 2 +- zh/option/component/radius-axis.md | 4 ++-- zh/option/component/timeline.md | 2 +- zh/option/component/title.md | 2 +- zh/option/component/toolbox.md | 2 +- zh/option/component/tooltip.md | 2 +- zh/option/component/visual-map-continuous.md | 2 +- zh/option/component/visual-map-piecewise.md | 2 +- zh/option/component/x-axis.md| 4 ++-- zh/option/component/y-axis.md| 4 ++-- zh/option/series/bar.md | 6 +++--- zh/option/series/boxplot.md | 2 +- zh/option/series/candlestick.md | 2 +- zh/option/series/effectScatter.md| 2 +- zh/option/series/funnel.md | 2 +- zh/option/series/gauge.md| 2 +- zh/option/series/graph.md| 2 +- zh/option/series/heatmap.md | 2 +- zh/option/series/line.md | 4 ++-- zh/option/series/parallel.md | 2 +- zh/option/series/pictorialBar.md | 2 +- zh/option/series/pie.md | 2 +- zh/option/series/radar.md| 2 +- zh/option/series/sankey.md | 2 +- zh/option/series/scatter.md | 2 +- zh/option/series/sunburst.md | 2 +- zh/option/series/themeRiver.md | 2 +- zh/option/series/tree.md | 2 +- zh/option/series/treemap.md | 2 +- 42 files changed, 52 insertions(+), 52 deletions(-) diff --git a/build.js b/build.js index dbce179..204d9c1 100644 --- a/build.js +++ b/build.js @@ -256,15 +256,15 @@ function writeSingleSchemaPartioned(schema, language, docName, format) { function copyUIControlConfigs(source, target) { for (let key in source) { if (target[key]) { -if (source[key].uiControl) { +if (source[key].uiControl && !target[key].uiControl) { target[key].uiControl = source[key].uiControl; } -if (source[key].exampleBaseOptions) { +if (source[key].exampleBaseOptions && !target[key].exampleBaseOptions) { target[key].exampleBaseOptions = source[key].exampleBaseOptions; } } else { -console.error(`Unmatched option path ${key}`); +// console.error(`Unmatched option path ${key}`); } } } diff --git a/src/components/LiveExample.vue b/src/components/LiveExample.vue index 02fbec5..f7ce7fe 100644 --- a/src/components/LiveExample.vue +++ b/src/components/LiveExample.vue @@ -20,7 +20,7 @@ {{$t('example.refresh')}} diff --git a/src/i18n.js b/src/i18n.js index 8b35eda..0237dd8 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -22,7 +22,7 @@ export default { example: { title: 'Preview the Option', titleShort: 'Preview', -intro: 'Try different values of the option and preview the effects!', +intro: 'Try different values of the option and preview!', noExample: 'No example available for current component.', tryDesc: 'Try It', diff --git a/zh/option/component/angle-axis.md b/zh/option/component/angle-axis.md index 6609043..6f21f68 100644 --- a/zh/option/component/angle-axis.md +++ b/zh/option/component/angle-axis.md @@ -5,7 +5,7 @@ 极坐标系的角度轴。 - + const data = []; for (let i = 0; i <= 360; i++) { @@ -42,7 +42,7 @@ const option = { }; - + const hours = ['12a', '1a', '2a', '3a', '4a', '5a', '6a', '7a', '8a', '9a','10a','11a', diff --git a/zh/option/component/axisPointer.md b/zh/option/component/a
[GitHub] [incubator-echarts] tikeyc commented on issue #12823: 在触屏的电脑或大屏显示器上无法拖动节点
tikeyc commented on issue #12823: URL: https://github.com/apache/incubator-echarts/issues/12823#issuecomment-650989909 @plainheart 使用的浏览器是: Chrome; navigator.userAgent的值是:"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36" 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] stale[bot] closed issue #6964: 使用自定义GeoJSON部分区域颜色不变化
stale[bot] closed issue #6964: URL: https://github.com/apache/incubator-echarts/issues/6964 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 live-example updated: example: support other languages
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 d93b0fc example: support other languages d93b0fc is described below commit d93b0fc604452a6d87126344ed048de9d5d9fa19 Author: pissang AuthorDate: Mon Jun 29 15:41:09 2020 +0800 example: support other languages --- build.js | 61 --- en/option/series/graph.md | 2 -- src/components/DocContent.vue | 2 ++ src/components/DocContentItemCard.vue | 9 -- zh/option/component/calendar.md | 5 --- zh/option/component/timeline.md | 3 -- zh/option/series/graph.md | 2 -- zh/option/series/scatter.md | 8 ++--- 8 files changed, 68 insertions(+), 24 deletions(-) diff --git a/build.js b/build.js index f65cc09..dbce179 100644 --- a/build.js +++ b/build.js @@ -253,16 +253,69 @@ function writeSingleSchemaPartioned(schema, language, docName, format) { ); // console.log(chalk.green('generated: ' + outlineDestPath)); -for (let partKey in descriptions) { -let partDescriptions = descriptions[partKey]; -let descDestPath = path.resolve(config.releaseDestDir, `${language}/documents/${docName}-parts/${partKey}.json`); +function copyUIControlConfigs(source, target) { +for (let key in source) { +if (target[key]) { +if (source[key].uiControl) { +target[key].uiControl = source[key].uiControl; +} +if (source[key].exampleBaseOptions) { +target[key].exampleBaseOptions = source[key].exampleBaseOptions; +} +} +else { +console.error(`Unmatched option path ${key}`); +} +} +} + +function readOptionDesc(language, partKey) { +const descDestPath = path.resolve(config.releaseDestDir, `${language}/documents/${docName}-parts/${partKey}.json`); +try { +const text = fs.readFileSync(descDestPath, 'utf-8'); +return JSON.parse(text); +} +catch(e) { +return; +} +} + +function writeOptionDesc(language, partKey, json) { +const descDestPath = path.resolve(config.releaseDestDir, `${language}/documents/${docName}-parts/${partKey}.json`); fse.ensureDirSync(path.dirname(descDestPath)); + fse.outputFile( descDestPath, // format ? JSON.stringify(partDescriptions, null, 2) : JSON.stringify(partDescriptions), -JSON.stringify(partDescriptions, null, 2), +JSON.stringify(json, null, 2), 'utf-8' ); +} + +for (let partKey in descriptions) { +let partDescriptions = descriptions[partKey]; + +// Copy ui control config from zh to english. +if (language === 'zh') { +languages.forEach(function (otherLang) { +if (otherLang === 'zh') { +return; +} +const json = readOptionDesc(otherLang, partKey); +if (json) { +copyUIControlConfigs(partDescriptions, json); +writeOptionDesc(otherLang, partKey, json); +} +}); +} +else { +const json = readOptionDesc('zh', partKey); +if (json) { +copyUIControlConfigs(json, partDescriptions); +} +} + +writeOptionDesc(language, partKey, partDescriptions); // console.log(chalk.green('generated: ' + descDestPath)); } }; diff --git a/en/option/series/graph.md b/en/option/series/graph.md index 70c8a83..389da59 100644 --- a/en/option/series/graph.md +++ b/en/option/series/graph.md @@ -5,8 +5,6 @@ Graph is a diagram to represent [nodes](~series-graph.nodes) and the [links](~series-graph.links) connecting nodes. -**Tips: ** In ECharts 2.x , the diagram of `force` type will not be available in ECharts 3 any more, which has been changed to use `graph` to show graph data. If you want to use force to lead the layout, you can set the [layout](~series-graph.layout) configuration as `'force'`. - **Example: ** ~[600x400](${galleryViewPath}graph&reset=1&edit=1) diff --git a/src/components/DocContent.vue b/src/components/DocContent.vue index 57c52ce..f23cdc3 100644 --- a/src/components/DocContent.vue +++ b/src/components/DocContent.vue @@ -287,6 +287,8 @@ export default { .doc-content { text-align: left; +// color: #59636f; +color: #4d555e; // transition: margin-right 500ms cubic-bezier(0.215, 0.610, 0.355, 1); diff --git a/src/components/DocContentItemCard.vue b/src/components/DocContentItemCard.vue index e2bfbbb..3b4d90a 10064