[GitHub] [echarts] echarts-bot[bot] closed issue #15013: Custom font strange behaviour
echarts-bot[bot] closed issue #15013: URL: https://github.com/apache/echarts/issues/15013 -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] echarts-bot[bot] commented on issue #15013: Custom font strange behaviour
echarts-bot[bot] commented on issue #15013: URL: https://github.com/apache/echarts/issues/15013#issuecomment-906958969 This issue is closed due to not being active. Please feel free to open it again (for the author) or create a new one and reference this (for others) if you have further questions. -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] echarts-bot[bot] commented on issue #15173: Unable to access documentation
echarts-bot[bot] commented on issue #15173: URL: https://github.com/apache/echarts/issues/15173#issuecomment-906957243 This issue is closed due to not being active. Please feel free to open it again (for the author) or create a new one and reference this (for others) if you have further questions. -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] echarts-bot[bot] closed issue #15173: Unable to access documentation
echarts-bot[bot] closed issue #15173: URL: https://github.com/apache/echarts/issues/15173 -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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
[echarts-examples] branch gh-pages updated: use native ffmpeg for performance consideration
This is an automated email from the ASF dual-hosted git repository. shenyi pushed a commit to branch gh-pages in repository https://gitbox.apache.org/repos/asf/echarts-examples.git The following commit(s) were added to refs/heads/gh-pages by this push: new 52b3add use native ffmpeg for performance consideration 52b3add is described below commit 52b3add37170885d0d6d0eb901dde5f0593d6620 Author: pissang AuthorDate: Fri Aug 27 14:14:34 2021 +0800 use native ffmpeg for performance consideration --- tool/build-example.js | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/tool/build-example.js b/tool/build-example.js index e80e163..a6b192f 100644 --- a/tool/build-example.js +++ b/tool/build-example.js @@ -15,7 +15,7 @@ const { compareImage } = require('../common/compareImage'); const { runTasks } = require('../common/task'); const nStatic = require('node-static'); const shell = require('shelljs'); -const { createFFmpeg, fetchFile } = require('@ffmpeg/ffmpeg'); +// const { createFFmpeg, fetchFile } = require('@ffmpeg/ffmpeg'); function optionToJson(obj, prop) { let json = JSON.stringify(obj, function(key, value) { @@ -228,14 +228,14 @@ async function takeScreenshot( if (hasVideo) { await checkingDownload; -const webpFile = `${fileBase}.webp`; -const fileContent = fs.readFileSync(webmFile); -ffmpeg.FS('writeFile', `${basename}.webm`, await fetchFile(fileContent)); -await ffmpeg.run('-i', `${basename}.webm`, '-f', 'webp', '-s', `${OUTPUT_IMAGE_WIDTH}x${OUTPUT_IMAGE_HEIGHT}`, `${basename}.webp`); -fs.writeFileSync(webpFile, ffmpeg.FS('readFile', `${basename}.webp`)); -ffmpeg.FS("unlink", `${basename}.webm`) -ffmpeg.FS("unlink", `${basename}.webp`) -// shell.exec(`ffmpeg -y -i ${fileBase}.webm -s ${OUTPUT_IMAGE_WIDTH}x${OUTPUT_IMAGE_HEIGHT} -f webp ${fileBase}.webp`); +// const webpFile = `${fileBase}.webp`; +// const fileContent = fs.readFileSync(webmFile); +// ffmpeg.FS('writeFile', `${basename}.webm`, await fetchFile(fileContent)); +// await ffmpeg.run('-i', `${basename}.webm`, '-f', 'webp', '-s', `${OUTPUT_IMAGE_WIDTH}x${OUTPUT_IMAGE_HEIGHT}`, `${basename}.webp`); +// fs.writeFileSync(webpFile, ffmpeg.FS('readFile', `${basename}.webp`)); +// ffmpeg.FS("unlink", `${basename}.webm`) +// ffmpeg.FS("unlink", `${basename}.webp`) +shell.exec(`ffmpeg -y -i ${fileBase}.webm -s ${OUTPUT_IMAGE_WIDTH}x${OUTPUT_IMAGE_HEIGHT} -f webp ${fileBase}.webp`); try { fs.unlinkSync(webmFile); } @@ -360,8 +360,9 @@ export default ${JSON.stringify(exampleList, null, 2)}`; ] }); -const ffmpeg = createFFmpeg({ log: true }); -await ffmpeg.load(); +let ffmpeg; +// const ffmpeg = createFFmpeg({ log: true }); +// await ffmpeg.load(); try { // Take screenshots @@ -411,7 +412,7 @@ export default ${JSON.stringify(exampleList, null, 2)}`; server.close(); await browser.close(); -ffmpeg.exit(0); +// ffmpeg.exit(0); } })(); - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [echarts] plainheart commented on issue #15611: 最新的master版本的配置项series-line.markPoint.data. symbolOffset 还是无效。
plainheart commented on issue #15611: URL: https://github.com/apache/echarts/issues/15611#issuecomment-906952716 ``` npm install echarts-nightly ``` -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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
[echarts-examples] branch gh-pages updated: optimize animation screenshots
This is an automated email from the ASF dual-hosted git repository. shenyi pushed a commit to branch gh-pages in repository https://gitbox.apache.org/repos/asf/echarts-examples.git The following commit(s) were added to refs/heads/gh-pages by this push: new d96def5 optimize animation screenshots d96def5 is described below commit d96def5724668ea089899af2f4efa5a08fc49998 Author: pissang AuthorDate: Fri Aug 27 14:10:06 2021 +0800 optimize animation screenshots --- package-lock.json | 36 + package.json | 4 +- tool/build-example.js | 220 +- 3 files changed, 167 insertions(+), 93 deletions(-) diff --git a/package-lock.json b/package-lock.json index d6d682b..fc83889 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1141,6 +1141,24 @@ "integrity": "sha512-HyYEUDeIj5rRQU2Hk5HTB2uHsbRQpF70nvMhVzi+VJR0X+xNEhjPui4/kBf3VeH/wqD28PT4sVOm8qqLjBrSZg==", "dev": true }, +"@ffmpeg/core": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@ffmpeg/core/-/core-0.10.0.tgz";, + "integrity": "sha512-qunWJl5PezpXEm31tb8Qu5z37B5KVA1VYZCpXchMhuAb3X9T7PuE3SlhOwphEoRhzaOa3lpofDfzihAUMFaVPQ==", + "dev": true +}, +"@ffmpeg/ffmpeg": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/@ffmpeg/ffmpeg/-/ffmpeg-0.10.1.tgz";, + "integrity": "sha512-ChQkH7Rh57hmVo1LhfQFibWX/xqneolJKSwItwZdKPcLZuKigtYAYDIvB55pDfP17VtR1R77SxgkB2/UApB+Og==", + "dev": true, + "requires": { +"is-url": "^1.2.4", +"node-fetch": "^2.6.1", +"regenerator-runtime": "^0.13.7", +"resolve-url": "^0.2.1" + } +}, "@lang/object-visualizer": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/@lang/object-visualizer/-/object-visualizer-3.1.1.tgz";, @@ -4095,6 +4113,12 @@ "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", "dev": true }, +"is-url": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-url/-/is-url-1.2.4.tgz";, + "integrity": "sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==", + "dev": true +}, "is-utf8": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz";, @@ -4628,6 +4652,12 @@ "integrity": "sha512-+D4s2HCnxPd5PjjI0STKwncjXTUKKqm74MDMz9OPXavjsGmjkvwgLtA5yoxJUdmpj52+2u+RrXgPipahKczMKg==", "dev": true }, +"node-fetch": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz";, + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", + "dev": true +}, "node-modules-regexp": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz";, @@ -5592,6 +5622,12 @@ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true }, +"resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz";, + "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", + "dev": true +}, "responselike": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz";, diff --git a/package.json b/package.json index ce8c190..e6a9843 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "localsite": "npm run build && node build/copyResource.js --env localsite", "release": "npm run build && node build/copyResource.js --env asf", "dev": "npx concurrently --kill-others \"npm:watch\" \"npm:server\"", -"build:example": "node tool/build-example.js && node tool/build-example.js --source data-gl", +"build:example": "node --experimental-wasm-threads --experimental-wasm-bulk-memory tool/build-example.js && node --experimental-wasm-threads --experimental-wasm-bulk-memory tool/build-example.js --source data-gl", "test:e2e": "node e2e/main.js --bundler webpack -m", "test:e2e:local": "node e2e/main.js --bundler webpack -m --local", "test:e2e:esbuild": "node e2e/main.js --bundler esbuild -m", @@ -18,6 +18,8 @@ "devDependencies": { "@babel/core": "^7.10.2", "@babel/preset-env": "^7.10.2", +"@ffmpeg/core": "^0.10.0", +"@ffmpeg/ffmpeg": "^0.10.1", "@typescript-eslint/typescript-estree": "^4.10.0", "argparse": "^1.0.9", "babel-loader": "^8.1.0", diff --git a/tool/build-example.js b/tool/build-example.js index 8b9a1aa..e80e163 100644 --- a/tool/build-example.js +++ b/tool/build-example.js @@ -15,6 +15,7 @@ const { compareImage } = require('../common/compareImage'); const { runTasks } = require('../common/task'); const nStatic = require('node-static'); co
[GitHub] [echarts] gMan1990 closed issue #15469: how to highlight link when click series-graph's node?
gMan1990 closed issue #15469: URL: https://github.com/apache/echarts/issues/15469 -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] Ovilia commented on issue #15469: how to highlight link when click series-graph's node?
Ovilia commented on issue #15469: URL: https://github.com/apache/echarts/issues/15469#issuecomment-906932392 The basic idea is listening to the click event (`chart.on('click', function ...`) and call setOption to change the color of the selected node. -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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
[echarts-handbook] branch gh-pages updated (40b4d77 -> 7807130)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch gh-pages in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git. discard 40b4d77 Deploying to gh-pages from @ apache/echarts-handbook@4ff777b75ccaea21db8973993c066d922c6a57db 🚀 new 7807130 Deploying to gh-pages from @ apache/echarts-handbook@1f1711b95e4409dfe83e8230d186bef0e259214b 🚀 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (40b4d77) \ N -- N -- N refs/heads/gh-pages (7807130) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. 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: docs/200.html| 6 +++--- docs/_nuxt/{8a378ba.js => 4a3b022.js}| 2 +- docs/_nuxt/css/8d85930.css | 1 - docs/_nuxt/css/ff26ee9.css | 1 + docs/_nuxt/js/37d934d1bd289f7dee0c.js| 1 + docs/_nuxt/js/81dbaddd923633f2f524.js| 1 - docs/_nuxt/js/b3d43993d588a10bcb96.js| 1 - ...16aa1074b87615fa84.js => c22d868f11cdfead99f1.js} | 2 +- docs/_nuxt/js/e182b0ac3c89ec73ffa3.js| 1 + .../application/chart-types/bar/bar-race/index.html | 4 ++-- .../application/chart-types/bar/basic-bar/index.html | 4 ++-- .../chart-types/bar/stacked-bar/index.html | 4 ++-- .../application/chart-types/bar/waterfall/index.html | 4 ++-- .../chart-types/line/area-line/index.html| 4 ++-- .../chart-types/line/basic-line/index.html | 4 ++-- .../chart-types/line/smooth-line/index.html | 4 ++-- .../chart-types/line/stacked-line/index.html | 4 ++-- .../chart-types/line/step-line/index.html| 4 ++-- .../application/chart-types/pie/basic-pie/index.html | 4 ++-- .../application/chart-types/pie/doughnut/index.html | 4 ++-- docs/en/application/chart-types/pie/rose/index.html | 4 ++-- .../chart-types/scatter/basic-scatter/index.html | 4 ++-- docs/en/application/cross-platform/server/index.html | 4 ++-- docs/en/application/data/dynamic-data/index.html | 4 ++-- docs/en/application/interaction/drag/index.html | 4 ++-- docs/en/application/label/rich-text/index.html | 4 ++-- docs/en/basics/download/index.html | 4 ++-- docs/en/basics/help/index.html | 4 ++-- docs/en/basics/import/index.html | 4 ++-- docs/en/basics/inspiration/index.html| 4 ++-- docs/en/basics/release-note/v5-feature/index.html| 4 ++-- .../basics/release-note/v5-upgrade-guide/index.html | 4 ++-- docs/en/best-practice/aria/index.html| 4 ++-- docs/en/best-practice/canvas-vs-svg/index.html | 4 ++-- docs/en/concepts/axis/index.html | 4 ++-- docs/en/concepts/chart-size/index.html | 4 ++-- docs/en/concepts/data-transform/index.html | 4 ++-- docs/en/concepts/dataset/index.html | 4 ++-- docs/en/concepts/event/index.html| 4 ++-- docs/en/concepts/legend/index.html | 4 ++-- docs/en/concepts/style/index.html| 4 ++-- docs/en/concepts/visual-map/index.html | 4 ++-- docs/en/get-started/index.html | 4 ++-- docs/en/index.html | 4 ++-- docs/en/meta/edit-guide/index.html | 4 ++-- docs/index.html | 4 ++-- .../application/chart-types/bar/bar-race/index.html | 6 +++--- .../application/chart-types/bar/basic-bar/index.html | 6 +++--- .../chart-types/bar/stacked-bar/index.html | 6 +++--- .../application/chart-types/bar/waterfall/index.html | 6 +++--- .../chart-types/line/area-line/index.html| 6 +++--- .../chart-types/line/basic-line/index.html | 6 +++--- .../chart-types/line/smooth-line/index.html | 6 +++--- .../chart-types/line/stacked-line/index.html | 6 +++--- .../chart-types/line/step-line/index.html| 6 +++--- .../application/chart-types/pie/basic-pie/index.html | 6 +++--- .../application/chart-types/pie/doughnut/index.
[echarts-handbook] branch master updated (4ff777b -> 1f1711b)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git. from 4ff777b try to fix the bug that generated contributors are missing add f154696 update post and style add 0906339 update post and contributor add cbf30d5 remove changelog new 1f1711b Merge pull request #6 from apache/fix-520 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: components/helper/contributors.ts| 20 ++ contents/zh/basics/release-note/5-2-0.md | 60 +++--- contents/zh/posts.yml| 4 +- layouts/default.vue | 64 ++-- 4 files changed, 90 insertions(+), 58 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-handbook] 01/01: Merge pull request #6 from apache/fix-520
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git commit 1f1711b95e4409dfe83e8230d186bef0e259214b Merge: 4ff777b cbf30d5 Author: Wenli Zhang AuthorDate: Fri Aug 27 13:11:22 2021 +0800 Merge pull request #6 from apache/fix-520 update post and style components/helper/contributors.ts| 20 ++ contents/zh/basics/release-note/5-2-0.md | 60 +++--- contents/zh/posts.yml| 4 +- layouts/default.vue | 64 ++-- 4 files changed, 90 insertions(+), 58 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-handbook] branch fix-520 updated (0906339 -> cbf30d5)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch fix-520 in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git. from 0906339 update post and contributor add cbf30d5 remove changelog No new revisions were added by this update. Summary of changes: contents/zh/basics/release-note/5-2-0.md | 28 1 file changed, 28 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [echarts] dignfei commented on issue #15611: 最新的master版本的配置项series-line.markPoint.data. symbolOffset 还是无效。
dignfei commented on issue #15611: URL: https://github.com/apache/echarts/issues/15611#issuecomment-906918941 > master 分支上的构建文件还是 5.1.2 的,5.2.0 还没有发布。如果想尝试最新构建,可以用 https://www.npmjs.com/package/echarts-nightly 请问怎么安装echarts-nightly? -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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
[echarts-handbook] branch fix-520 updated (f154696 -> 0906339)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch fix-520 in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git. from f154696 update post and style add 0906339 update post and contributor No new revisions were added by this update. Summary of changes: components/helper/contributors.ts| 1 + contents/zh/basics/release-note/5-2-0.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-handbook] 01/01: update post and style
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch fix-520 in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git commit f154696c4879c477a9e9da37adcb1d7dc1d34ca2 Author: Ovilia AuthorDate: Fri Aug 27 12:11:28 2021 +0800 update post and style --- components/helper/contributors.ts| 19 --- contents/zh/basics/release-note/5-2-0.md | 88 contents/zh/posts.yml| 4 +- layouts/default.vue | 64 +-- 4 files changed, 117 insertions(+), 58 deletions(-) diff --git a/components/helper/contributors.ts b/components/helper/contributors.ts index 9c45c7d..0f07bb5 100644 --- a/components/helper/contributors.ts +++ b/components/helper/contributors.ts @@ -1,7 +1,4 @@ export default { -"contents/zh/meta/edit-guide.md": [ -"pissang" -], "contents/zh/get-started.md": [ "Ovilia", "pissang" @@ -215,7 +212,8 @@ export default { "pissang" ], "contents/zh/application/chart-types/bar/waterfall.md": [ -"Ovilia" +"Ovilia", +"pissang" ], "contents/zh/application/chart-types/bar/stacked-bar.md": [ "Ovilia", @@ -230,9 +228,11 @@ export default { "pissang" ], "contents/zh/application/chart-types/bar/bar-race.md": [ -"Ovilia" +"Ovilia", +"pissang" ], "contents/en/posts.yml": [ +"Ovilia", "pissang" ], "contents/en/meta/edit-guide.md": [ @@ -420,7 +420,9 @@ export default { "pissang" ], "contents/en/application/chart-types/bar/waterfall.md": [ -"Hansz00" +"Hansz00", +"Ovilia", +"pissang" ], "contents/en/application/chart-types/bar/stacked-bar.md": [ "Hansz00", @@ -435,12 +437,15 @@ export default { "pissang" ], "contents/en/application/chart-types/bar/bar-race.md": [ -"Hansz00" +"Hansz00", +"Ovilia", +"pissang" ], "contents/.prettierrc": [ "pissang" ], "contents/zh/posts.yml": [ +"Ovilia", "pissang" ] }; \ No newline at end of file diff --git a/contents/zh/basics/release-note/5-2-0.md b/contents/zh/basics/release-note/5-2-0.md index 7421e5b..9c11789 100644 --- a/contents/zh/basics/release-note/5-2-0.md +++ b/contents/zh/basics/release-note/5-2-0.md @@ -1,10 +1,10 @@ # Apache ECharts 5.2.0 介绍 -## 全局过渡动画 Universal Transition +## 全局过渡动画 -在 Apache ECharts 中我们一直把自然流畅的过渡动画作为我们的一个重要特性,我们希望能够通过动画去关联数据的变化,让数据的变化不会突兀的反应在图形上。 +在 Apache ECharts 中我们一直把自然流畅的过渡动画作为一个重要特性。通过避免数据的突变,不仅仅可以改善视觉效果,更为表达数据的关联和演变提供了可能。因此,在 5.2.0 中,我们进一步将过渡动画从表现系列内部数据的变化,泛化到全局能力。接下来,我们会看到这种全局的**过渡动画(Universal Transition)**是如何为图表增加表现力和叙事能力的。 -在之前的版本中,过渡动画主要应用在了相同类型的图形的位置、尺寸、形状上,而且只能作用在相同类型的系列上。比如,下面例子就是通过饼图中扇区形状的变化反映了数据分布的变化: +在之前的版本中,过渡动画有一定的局限性:只能用于相同类型的图形的位置、尺寸、形状,而且只能作用在相同类型的系列上。比如,下面例子就是通过饼图中扇区形状的变化反映了数据分布的变化: ```js live {layout: 'lr'} function makeRandomData() { @@ -42,9 +42,11 @@ setInterval(() => { }, 2000); ``` -### 跨系列的形变动画 +而从 5.2.0 开始,我们引入了更强大的全局过渡动画能力,让过渡动画不再局限于相同类型的系列之间。现在,我们可以使用这种跨系列的形变,为任意类型的系列和任意类型的图形做形变动画。 + +这会有多酷呢?我们一起来感受一下! -这次从 5.2.0 开始,我们引入了更强大的全局过渡动画 Universal Transition,让过渡动画不再局限于相同类型的系列之间。 +### 跨系列的形变动画 在设置`universalTransition: true`开启全局过渡动画后,从饼图切换成柱状图,或者从柱状图切换成散点图,甚至旭日图和矩形树图这类复杂的图表之间,都可以通过形变的方式自然的进行动画过渡。 @@ -118,13 +120,13 @@ setInterval(() => { ![](images/5-2-0/universal-transition-3.gif) -> 注意需要配置系列的 id 来保证需要动画过渡的系列之间能够一一对应 +> 注意需要配置系列的 id 来保证需要动画过渡的系列之间能够一一对应。 -### 数据的分裂和合并动画 +### 数据的分裂/合并动画 -除了常见的数据更新,有时候我们还会碰到数据的聚合,下钻等交互后的更新,这个时候我们就不能直接应用一对一的动画过渡,而需要使用更多像分裂,合并这样的动画效果,来能够正确的通过图形的动画变换表达出数据的变换。 +除了常见的数据值的更新,有时候我们还会碰到数据的聚合、下钻等交互后的更新,这个时候我们就不能直接应用一对一的动画过渡,而需要使用更多像分裂、合并这样的动画效果,来通过正确的图形动画表达出数据的变换。 -为了能够表达数据之间多对多的联系,在 5.2.0 中我们新引入了一个数据组`groupId`的概念,我们可以通过 [series.dataGroupId](${optionPath}series-bar.dataGroupId) 设置整个系列所属的组,或者更细粒度的通过 [series.data.groupId](${optionPath}series-bar.dataGroupId) 设置每个数据所属的组。如果你使用了`dataset`管理数据则更方便了,可以使用`encode.itemGroupId`来指定一个维度编码成`groupId`。 +为了能够表达数据之间可能存在的多对多联系,在 5.2.0 中我们新引入了一个数据组`groupId`的概念,我们可以通过 [series.dataGroupId](${optionPath}series-bar.dataGroupId) 设置整个系列所属的组,或者更细粒度的通过 [series.data.groupId](${optionPath}series-bar.dataGroupId) 设置每个数据所属的组。如果你使用了`dataset`管理数据则更方便了,可以使用`encode.itemGroupId`来指定一个维度编码成`groupId`。 比如我们要实现一个柱状图下钻的动画,可以将下钻后的整个系列的数据都设置同一个`groupId`,然后跟下钻前的数据对应起来: @@ -243,12 +245,16 @@ myChart.on('click', event => { ![](images/5-2-0/group-transition-2.gif) -## 不同粒度的调色盘取色 +全局过渡动画使得数据的关系和演变的表达能力走上新的台阶,为你的可视化创作灵感插上翅膀。 + +看到这里,我们知道你已经跃跃欲试了。但是别急,5.2.0 还有更多值得一看的新功能。 -在上面全局过渡动画的示例中大家可能有注意到我们使用了一个之前版本没有的`colorBy`配置项,这个配置项也是我们这个版本新增加的一个特性,用来给系列配置不同粒度的调色盘取色。这个配置目前支持两种策略: +## 调色盘的取色策略 -- `'series'` 按照系列取色,同一系列中的所有数据都是用相同的颜色。 -- `'data'` 按照数据项取色,每个数据项都使用不同的颜色。 +在上面全局过渡动画的示例中,大家可能有注意到我们使用了一个之前版本没有的`colorBy`配置项,这个配置项也是我们这个版本新增加的一个特性,用来给系列配置不同粒度
[echarts-handbook] branch fix-520 created (now f154696)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch fix-520 in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git. at f154696 update post and style This branch includes the following new commits: new f154696 update post and style The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [echarts] 520zzj commented on issue #9560: containLabel:true, 右边的文字还是被遮挡了
520zzj commented on issue #9560: URL: https://github.com/apache/echarts/issues/9560#issuecomment-906898815 https://blog.csdn.net/zm_miner/article/details/78321254 至于你说的interval是在categroy类型才有用,这几种都是折中的方案。 -- 原始邮件 -- 发件人: "apache/echarts" ***@***.***>; 发送时间: 2021年8月27日(星期五) 中午11:19 ***@***.***>; ***@***.**@***.***>; 主题: Re: [apache/echarts] containLabel:true, 右边的文字还是被遮挡了 (#9560) 感谢热心回复。 我看了源码,看了interval的计算方法。 理论上 最左边和最右边的两个label都会出现显示不全的问题。 虽然可以通过showMinLabel: false, showMaxLabel: false 把最左边和最右边的label隐藏掉 但是在数据量没有那么多的时候,最左边最右边又有足够的空间展示label,直接隐藏显得很空。 能不能计算完interval,渲染label的时候,把最左边和最右边显示不全的label隐藏掉? 我这里不能贴图片。可能没表达清楚... — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] eeeqxxtg removed a comment on issue #9560: containLabel:true, 右边的文字还是被遮挡了
eeeqxxtg removed a comment on issue #9560: URL: https://github.com/apache/echarts/issues/9560#issuecomment-906894399 感谢热心回复。 我看了源码,看了interval的计算方法。 理论上 最左边和最右边的两个label都会出现显示不全的问题。 虽然可以通过showMinLabel: false, showMaxLabel: false 把最左边和最右边的label隐藏掉 但是在数据量没有那么多的时候,最左边最右边又有足够的空间展示label,直接隐藏显得很空。 能不能计算完interval,渲染label的时候,把最左边和最右边显示不全的label隐藏掉? 我这里不能贴图片。可能没表达清楚... -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] eeeqxxtg commented on issue #9560: containLabel:true, 右边的文字还是被遮挡了
eeeqxxtg commented on issue #9560: URL: https://github.com/apache/echarts/issues/9560#issuecomment-906894399 感谢热心回复。 我看了源码,看了interval的计算方法。 理论上 最左边和最右边的两个label都会出现显示不全的问题。 虽然可以通过showMinLabel: false, showMaxLabel: false 把最左边和最右边的label隐藏掉 但是在数据量没有那么多的时候,最左边最右边又有足够的空间展示label,直接隐藏显得很空。 能不能计算完interval,渲染label的时候,把最左边和最右边显示不全的label隐藏掉? 我这里不能贴图片。可能没表达清楚... -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] eeeqxxtg commented on issue #9560: containLabel:true, 右边的文字还是被遮挡了
eeeqxxtg commented on issue #9560: URL: https://github.com/apache/echarts/issues/9560#issuecomment-906894225 感谢热心回复。 我看了源码,看了interval的计算方法。 理论上 最左边和最右边的两个label都会出现显示不全的问题。 虽然可以通过showMinLabel: false, showMaxLabel: false 把最左边和最右边的label隐藏掉 但是在数据量没有那么多的时候,最左边最右边又有足够的空间展示label,直接隐藏显得很空。 能不能计算完interval,渲染label的时候,把最左边和最右边显示不全的label隐藏掉? 我这里不能贴图片。可能没表达清楚... -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] 520zzj commented on issue #9560: containLabel:true, 右边的文字还是被遮挡了
520zzj commented on issue #9560: URL: https://github.com/apache/echarts/issues/9560#issuecomment-906889029 ui风格是可以调整的,像你这种echart的dom元素本来width值就很小,我们一搬采取的是x轴竖直的方式减少x轴文字的占位,你x轴标签文字长度基本是固定的,因为你日期采取的格式已经固定了。 -- 原始邮件 -- 发件人: "apache/echarts" ***@***.***>; 发送时间: 2021年8月27日(星期五) 上午10:59 ***@***.***>; ***@***.**@***.***>; 主题: Re: [apache/echarts] containLabel:true, 右边的文字还是被遮挡了 (#9560) 实际场景,右侧8px是UI风格统一的设置。 数据是动态的,数据量不大,就没问题,数据量稍大一点问题就出来。 就算把right改大一些,x轴标签文字长度不固定的话,也会出现这种问题。 PS:我不知道你的邮箱,应该是github自动发送的 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] eeeqxxtg commented on issue #9560: containLabel:true, 右边的文字还是被遮挡了
eeeqxxtg commented on issue #9560: URL: https://github.com/apache/echarts/issues/9560#issuecomment-906887030 实际场景,右侧8px是UI风格统一的设置。 数据是动态的,数据量不大,就没问题,数据量稍大一点问题就出来。 就算把right改大一些,x轴标签文字长度不固定的话,也会出现这种问题。 PS:我不知道你的邮箱,应该是github自动发送的 -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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
[echarts] 01/01: Merge pull request #15612 from apache/release-dev
This is an automated email from the ASF dual-hosted git repository. shenyi pushed a commit to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git commit 7890d0eb77b8c6aefeab854bc2208807ba3fceeb Merge: d97f5bb 0043798 Author: Yi Shen AuthorDate: Fri Aug 27 10:15:40 2021 +0800 Merge pull request #15612 from apache/release-dev fix: add null condition. src/animation/morphTransitionHelper.ts | 2 +- src/animation/universalTransition.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch release updated (d97f5bb -> 7890d0e)
This is an automated email from the ASF dual-hosted git repository. shenyi pushed a change to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git. from d97f5bb Merge pull request #15588 from apache/fix/tooltip-offset add 0043798 fix: add null condition. new 7890d0e Merge pull request #15612 from apache/release-dev 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/animation/morphTransitionHelper.ts | 2 +- src/animation/universalTransition.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [echarts] echarts-bot[bot] commented on pull request #15612: fix: add null condition.
echarts-bot[bot] commented on pull request #15612: URL: https://github.com/apache/echarts/pull/15612#issuecomment-906873113 Congratulations! Your PR has been merged. Thanks for your contribution! 👍 -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] pissang merged pull request #15612: fix: add null condition.
pissang merged pull request #15612: URL: https://github.com/apache/echarts/pull/15612 -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] plainheart commented on issue #15611: 最新的master版本的配置项series-line.markPoint.data. symbolOffset 还是无效。
plainheart commented on issue #15611: URL: https://github.com/apache/echarts/issues/15611#issuecomment-906866679 master 分支上的构建文件还是 5.1.2 的,5.2.0 还没有发布。如果想尝试最新构建,可以用 https://www.npmjs.com/package/echarts-nightly -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] echarts-bot[bot] commented on issue #15613: Superimpose the histogram. Use 'diamond' and pictorialbar at the top. When you click the second segment of data of the first column, the
echarts-bot[bot] commented on issue #15613: URL: https://github.com/apache/echarts/issues/15613#issuecomment-906852201 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 it contains **a minimum reproducible demo** and necessary **images** to illustrate. Otherwise, our committers will ask you to do so. *A minimum reproducible demo* should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster. 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 question. If you are interested in the project, you may also subscribe to our [mailing 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] wdlhao opened a new issue #15613: Superimpose the histogram. Use 'diamond' and pictorialbar at the top. When you click the second segment of data of the first column, the obtained n
wdlhao opened a new issue #15613: URL: https://github.com/apache/echarts/issues/15613 ### Version 4.0.4 ### Reproduction link [https://www.makeapie.com/editor.html?c=xCsDpKfl_Y&v=5](https://www.makeapie.com/editor.html?c=xCsDpKfl_Y&v=5) ### Steps to reproduce 1、When clicking the second section of the first column, the obtained name should be the name of the x-axis corresponding to the first column. Now the obtained name does not match; 2、When the click event of the legend at the top of echats is disabled, the next two legends cannot be clicked, which is normal; However, the first two legend can be clicked; Triggered the click event of echart; 3、Changing the Z value of pictorialbar can solve the click problem; However, it can not meet the existing effect of histogram 4、For the specific project code, see the reproduction link [https://www.makeapie.com/editor.html?c=xCsDpKfl_Y&v=5](https://www.makeapie.com/editor.html?c=xCsDpKfl_Y&v=5) ### What is expected? 1. When you click the second section of the first column, you can get the correct name corresponding to the X axis; 2. When legend is disabled, click events cannot be clicked; ### What is actually happening? When clicking the second section of the first column, the obtained name should be the name of the x-axis corresponding to the first column. Now the obtained name does not match; When the click event of the legend at the top of echats is disabled, the next two legends cannot be clicked, which is normal; However, the first two legend can be clicked; Triggered the click event of echart; -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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
[echarts-examples] 01/05: fix: fix typo
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch gh-pages in repository https://gitbox.apache.org/repos/asf/echarts-examples.git commit 0c61acbef8fa8f2e1263d009f94edcb548be3ffc Author: sushuang AuthorDate: Thu Aug 26 12:30:56 2021 +0800 fix: fix typo --- public/data/custom-aggregate-scatter-bar.js | 2 +- public/data/custom-aggregate-scatter-pie.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/data/custom-aggregate-scatter-bar.js b/public/data/custom-aggregate-scatter-bar.js index 840a7c2..5f542f6 100644 --- a/public/data/custom-aggregate-scatter-bar.js +++ b/public/data/custom-aggregate-scatter-bar.js @@ -182,7 +182,7 @@ function setBarOption() { }; myChart.setOption(option, { -replaceMerge: ['xAxis', 'yAxis', 'viusalMap'], +replaceMerge: ['xAxis', 'yAxis', 'visualMap'], transition: { from: { seriesIndex: 0, dimension: 'M_TAG' }, to: { seriesIndex: 0, dimension: 'M_TAG' } diff --git a/public/data/custom-aggregate-scatter-pie.js b/public/data/custom-aggregate-scatter-pie.js index 6c7a155..a851a35 100644 --- a/public/data/custom-aggregate-scatter-pie.js +++ b/public/data/custom-aggregate-scatter-pie.js @@ -180,7 +180,7 @@ function setPieOption() { }; myChart.setOption(option, { -replaceMerge: ['xAxis', 'yAxis', 'viusalMap'], +replaceMerge: ['xAxis', 'yAxis', 'visualMap'], transition: { from: { seriesIndex: 0, dimension: 'M_TAG' }, to: { seriesIndex: 0, dimension: 'M_TAG' } - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-examples] 05/05: fix: some tweak for e2e test (but probably not important)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch gh-pages in repository https://gitbox.apache.org/repos/asf/echarts-examples.git commit b1085cff3f2bf4eb5422bf9f9eb9e1d09d9c4802 Author: sushuang AuthorDate: Fri Aug 27 02:41:03 2021 +0800 fix: some tweak for e2e test (but probably not important) --- e2e/main.js | 49 + e2e/package.json | 5 - package.json | 2 ++ 3 files changed, 35 insertions(+), 21 deletions(-) diff --git a/e2e/main.js b/e2e/main.js index 575488c..c086f26 100644 --- a/e2e/main.js +++ b/e2e/main.js @@ -45,7 +45,7 @@ parser.addArgument(['-t', '--tests'], { }); const args = parser.parseArgs(); -const EXAMPLE_DIR = `${__dirname}/../public/`; +const EXAMPLE_DIR = nodePath.resolve(`${__dirname}/../public`); const TMP_DIR = `${__dirname}/tmp`; const RUN_CODE_DIR = `${TMP_DIR}/tests`; const BUNDLE_DIR = `${TMP_DIR}/bundles`; @@ -173,17 +173,20 @@ async function installPackages(config) { if (packageJson.dependencies) { for (let depPkgName in packageJson.dependencies) { -if (!publishedPackages[depPkgName]) { -const depPkg = config.packages.find(a => a.name === depPkgName); -if (depPkg) { -publishPackage(depPkg); -// Come back. -shell.cd(pkg.dir); -} +const depPkg = config.packages.find(a => a.name === depPkgName); +if (depPkg && !publishedPackages[depPkgName]) { +publishPackage(depPkg); +// Come back. +shell.cd(pkg.dir); } shell.exec(`npm install`); -shell.exec(`npm install ${publishedPackages[depPkgName]} --no-save`); + +if (depPkg) { +console.log(chalk.gray(`Installing dependency ${depPkgName} from "${publishedPackages[depPkgName]}" ...`)); +shell.exec(`npm install ${publishedPackages[depPkgName]} --no-save`); +console.log(chalk.gray(`Install dependency ${depPkgName} done.`)); +} } } @@ -202,8 +205,9 @@ async function installPackages(config) { shell.cd(__dirname); for (let pkg of config.packages) { -console.log(chalk.gray(`Installing ${pkg.name}`)) -shell.exec(`npm install ${publishedPackages[pkg.name]}`); +console.log(chalk.gray(`Installing ${pkg.name} from "${publishedPackages[pkg.name]}" ...`)); +shell.exec(`npm install ${publishedPackages[pkg.name]} --no-save`); +console.log(chalk.gray(`Install ${pkg.name} done.`)); } // Come back. @@ -282,7 +286,14 @@ async function buildRunCode() { } const optionCode = await fse.readFile(fileName, 'utf-8'); -const option = JSON.parse(optionCode); +let option; +try { +option = JSON.parse(optionCode); +} +catch (err) { +console.error(`Parse JSON error: fileName: ${fileName} | fileContent: ${optionCode}`); +throw err; +} const testCode = await fse.readFile(nodePath.join( EXAMPLE_DIR, isGL ? 'data-gl' : 'data', testName + '.js' ), 'utf-8'); @@ -378,10 +389,16 @@ async function compileTs(tsTestFiles, result) { }; if (diagnostic.file.fileName.endsWith(`${MINIMAL_POSTFIX}.ts`)) { const basename = nodePath.basename(diagnostic.file.fileName, `.${MINIMAL_POSTFIX}.ts`); +if (!result[basename]) { +throw new Error(`${basename} does not exists in result.`); +} result[basename].compileErrors.minimal.push(compilerError); } else { -const basename = nodePath.basename(diagnostic.file.fileName, `.ts`); +const basename = nodePath.basename(diagnostic.file.fileName, `.ts`); +if (!result[basename]) { +throw new Error(`${basename} does not exists in result.`); +} result[basename].compileErrors.full.push(compilerError); } // console.log(chalk.red(`${diagnostic.file.fileName} (${line + 1},${character + 1})`)); @@ -699,7 +716,7 @@ async function main() { ); if (isNotSkipped('bundle')) { -console.log(`Bundling with ${USE_WEBPACK ? 'webpack' : 'esbuild'}`); +console.log(chalk.green(`Bundling with ${USE_WEBPACK ? 'webpack' : 'esbuild'}`)); const jsFiles = []; for (let testName of testNames) { jsFiles.push( @@ -715,7 +732,7 @@ async function main() { } if (isNotSkipped('render')) { -console.log('Running examples'); +console.log(chalk.green('Running examples')); const bun
[echarts-examples] 02/05: Merge branch 'dev' into gh-pages
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch gh-pages in repository https://gitbox.apache.org/repos/asf/echarts-examples.git commit c7f6e8179c35172f473cabca933b644cd7450410 Merge: 0c61acb 0ae073f Author: sushuang AuthorDate: Thu Aug 26 12:31:26 2021 +0800 Merge branch 'dev' into gh-pages .gitignore |3 +- README.md | 13 + package-lock.json | 92 +- public/data-gl/animating-contour-on-globe.js |2 + public/data-gl/flowGL-noise.js |2 + public/data-gl/global-wind-visualization-2.js |3 + public/data-gl/global-wind-visualization.js|3 + public/data-gl/globe-echarts-gl-hello-world.js |2 + public/data-gl/globe-layers.js |2 + public/data-gl/graphgl-gpu-layout.js |3 +- public/data-gl/lines3d-flights-gl.js |2 + public/data-gl/thumb-dark/flowGL-noise.webp| Bin 28206 -> 3330574 bytes .../thumb-dark/global-wind-visualization-2.webp| Bin 44424 -> 2151792 bytes .../thumb-dark/global-wind-visualization.webp | Bin 49026 -> 3249994 bytes public/data-gl/thumb-dark/graphgl-gpu-layout.webp | Bin 42310 -> 2306908 bytes public/data-gl/thumb-dark/lines3d-flights-gl.webp | Bin 31280 -> 3151212 bytes .../data-gl/thumb/animating-contour-on-globe.webp | Bin 17304 -> 622766 bytes .../data-gl/thumb/global-wind-visualization-2.webp | Bin 48504 -> 2957618 bytes .../data-gl/thumb/global-wind-visualization.webp | Bin 55224 -> 3059976 bytes .../thumb/globe-echarts-gl-hello-world.webp| Bin 11510 -> 1077750 bytes public/data-gl/thumb/globe-layers.webp | Bin 11868 -> 1043016 bytes public/data-gl/thumb/lines3d-flights-gl.webp | Bin 29394 -> 3199248 bytes .../{ => archive}/custom-aggregate-scatter-bar.js |0 .../custom-aggregate-scatter-cluster.js|0 .../{ => archive}/custom-aggregate-scatter-pie.js |0 .../data/{ => archive}/custom-one-to-one-morph.js |0 .../data/{ => archive}/custom-story-transition.js |0 public/data/asset/data/echarts-package-size.json | 3872 public/data/bar-drilldown.js | 99 + public/data/bar-polar-label-radial.js | 30 + public/data/bar-polar-label-tangential.js | 30 + public/data/bar-race-country.js|2 + public/data/bar-race.js|2 + public/data/custom-gantt-flight.js |2 +- public/data/custom-hexbin.js |2 +- public/data/gauge-clock.js |4 +- public/data/gauge-ring.js |5 + public/data/gauge-simple.js|2 + public/data/gauge-temperature.js |2 + public/data/line-race.js |2 + public/data/map-bar-morph.js | 147 + public/data/map-usa.js |8 +- public/data/pictorialBar-bar-transition.js | 144 + public/data/pictorialBar-forest.js |3 +- public/data/pictorialBar-hill.js |2 + public/data/pie-parliament-transition.js | 141 + public/data/scatter-aggregate-bar.js | 187 + public/data/scatter-polynomial-regression.js |2 +- public/data/scatter-symbol-morph.js| 97 + public/data/treemap-sunburst-transition.js | 56 + src/data/chart-list-data.js| 28 +- tool/build-example.js | 88 +- tool/screenshot.html | 127 +- 53 files changed, 5113 insertions(+), 98 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-examples] 04/05: fix: add e2e/package-lock.json to .gitignore.
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch gh-pages in repository https://gitbox.apache.org/repos/asf/echarts-examples.git commit ab4e2c85af1d1dbb05d5b90c84d6bbbaf613b3a4 Author: sushuang AuthorDate: Fri Aug 27 00:45:09 2021 +0800 fix: add e2e/package-lock.json to .gitignore. --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 4c2dd93..b862812 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ public/vendors/echarts/map/raw /public/asset /public/data/option /public/data-gl/option +/e2e/package-lock.json tmp .webm \ No newline at end of file - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-examples] branch gh-pages updated (42ac02a -> b1085cf)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch gh-pages in repository https://gitbox.apache.org/repos/asf/echarts-examples.git. from 42ac02a fix log error new 0c61acb fix: fix typo add 51c7236 add universal transition cases add 9c5a064 add more universal transition cases add 7476801 doc: add example of polar bar labels add a5b6b2e tweak add 8c5778e support animation screenshot add 17d7235 remove unused code add 0eb0dcd tweak start time add f5488e3 add more animation screenshot add ed8fcfe resize animation webp add 3c38b61 fix gl screenshot add 4799442 add more animation on case add 0ae073f update animated screenshots new c7f6e81 Merge branch 'dev' into gh-pages new 0f346ea fix: remove e2e/package-lock.json new ab4e2c8 fix: add e2e/package-lock.json to .gitignore. new b1085cf fix: some tweak for e2e test (but probably not important) The 5 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: .gitignore |4 +- README.md | 13 + e2e/main.js| 49 +- e2e/package-lock.json | 6131 e2e/package.json |5 - package-lock.json | 92 +- package.json |2 + public/data-gl/animating-contour-on-globe.js |2 + public/data-gl/flowGL-noise.js |2 + public/data-gl/global-wind-visualization-2.js |3 + public/data-gl/global-wind-visualization.js|3 + public/data-gl/globe-echarts-gl-hello-world.js |2 + public/data-gl/globe-layers.js |2 + public/data-gl/graphgl-gpu-layout.js |3 +- public/data-gl/lines3d-flights-gl.js |2 + public/data-gl/thumb-dark/flowGL-noise.webp| Bin 28206 -> 3330574 bytes .../thumb-dark/global-wind-visualization-2.webp| Bin 44424 -> 2151792 bytes .../thumb-dark/global-wind-visualization.webp | Bin 49026 -> 3249994 bytes public/data-gl/thumb-dark/graphgl-gpu-layout.webp | Bin 42310 -> 2306908 bytes public/data-gl/thumb-dark/lines3d-flights-gl.webp | Bin 31280 -> 3151212 bytes .../data-gl/thumb/animating-contour-on-globe.webp | Bin 17304 -> 622766 bytes .../data-gl/thumb/global-wind-visualization-2.webp | Bin 48504 -> 2957618 bytes .../data-gl/thumb/global-wind-visualization.webp | Bin 55224 -> 3059976 bytes .../thumb/globe-echarts-gl-hello-world.webp| Bin 11510 -> 1077750 bytes public/data-gl/thumb/globe-layers.webp | Bin 11868 -> 1043016 bytes public/data-gl/thumb/lines3d-flights-gl.webp | Bin 29394 -> 3199248 bytes .../{ => archive}/custom-aggregate-scatter-bar.js |2 +- .../custom-aggregate-scatter-cluster.js|0 .../{ => archive}/custom-aggregate-scatter-pie.js |2 +- .../data/{ => archive}/custom-one-to-one-morph.js |0 .../data/{ => archive}/custom-story-transition.js |0 public/data/asset/data/echarts-package-size.json | 3872 public/data/bar-drilldown.js | 99 + public/data/bar-polar-label-radial.js | 30 + public/data/bar-polar-label-tangential.js | 30 + public/data/bar-race-country.js|2 + public/data/bar-race.js|2 + public/data/custom-gantt-flight.js |2 +- public/data/custom-hexbin.js |2 +- public/data/gauge-clock.js |4 +- public/data/gauge-ring.js |5 + public/data/gauge-simple.js|2 + public/data/gauge-temperature.js |2 + public/data/line-race.js |2 + public/data/map-bar-morph.js | 147 + public/data/map-usa.js |8 +- ...r-vehicle.js => pictorialBar-bar-transition.js} | 219 +- public/data/pictorialBar-forest.js |3 +- public/data/pictorialBar-hill.js |2 + public/data/pie-parliament-transition.js | 141 + public/data/scatter-aggregate-bar.js | 187 + public/data/scatter-polynomial-regression.js |2 +- public/data/scatter-symbol-morph.js| 97 + public/data/treemap-sunburst-transition.js | 56 + src/data/chart-list-data.js| 28 +- tool/build-example.js | 88 +- tool/screenshot.html
[GitHub] [echarts] echarts-bot[bot] commented on pull request #15612: fix: add null condition.
echarts-bot[bot] commented on pull request #15612: URL: https://github.com/apache/echarts/pull/15612#issuecomment-906649886 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/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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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
[echarts] 01/01: fix: add null condition.
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch release-dev in repository https://gitbox.apache.org/repos/asf/echarts.git commit 00437988c88e35afb07826dd0524e319f3438be7 Author: sushuang AuthorDate: Thu Aug 26 12:41:10 2021 +0800 fix: add null condition. --- src/animation/morphTransitionHelper.ts | 2 +- src/animation/universalTransition.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/animation/morphTransitionHelper.ts b/src/animation/morphTransitionHelper.ts index 1b6aad2..6caafe3 100644 --- a/src/animation/morphTransitionHelper.ts +++ b/src/animation/morphTransitionHelper.ts @@ -126,7 +126,7 @@ export function applyMorphAnimation( } const updateAnimationCfg = getAnimationConfig('update', seriesModel, dataIndex); -if (!(updateAnimationCfg.duration > 0)) { +if (!(updateAnimationCfg && updateAnimationCfg.duration > 0)) { return; } const animationDelay = (seriesModel.getModel('universalTransition') as Model) diff --git a/src/animation/universalTransition.ts b/src/animation/universalTransition.ts index 9dc27e2..8678cfc 100644 --- a/src/animation/universalTransition.ts +++ b/src/animation/universalTransition.ts @@ -129,7 +129,7 @@ function stopAnimation(el: Element) { } function animateElementStyles(el: Element, dataIndex: number, seriesModel: SeriesModel) { const animationConfig = getAnimationConfig('update', seriesModel, dataIndex); -el.traverse(child => { +animationConfig && el.traverse(child => { if (child instanceof Displayable) { const oldStyle = getOldStyle(child); if (oldStyle) { @@ -412,7 +412,7 @@ function transitionBetween( const seriesModel = data.hostModel as SeriesModel; const view = seriesModel && api.getViewOfSeriesModel(seriesModel as SeriesModel); const animationCfg = getAnimationConfig('update', seriesModel, 0); // use 0 index. -if (view && seriesModel.isAnimationEnabled() && animationCfg.duration > 0) { +if (view && seriesModel.isAnimationEnabled() && animationCfg && animationCfg.duration > 0) { view.group.traverse(el => { if (el instanceof Path && !el.animators.length) { // We can't accept there still exists element that has no animation - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch release-dev updated (78d20e1 -> 0043798)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch release-dev in repository https://gitbox.apache.org/repos/asf/echarts.git. from 78d20e1 Merge pull request #15573 from apache/fix-sausage-label-distance add b362288 Merge pull request #15582 from apache/release-dev add 28f7c33 fix(tooltip): 1) tweak the calculation of tooltip offset to make it look not so near to the target element. #14393 2) remove unnecessary `getOuterSize` method beacuse `getSize` is now using `offsetWidth/offsetHeight` that contains the `borderWidth`. add d97f5bb Merge pull request #15588 from apache/fix/tooltip-offset new 0043798 fix: add null condition. 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/animation/morphTransitionHelper.ts | 2 +- src/animation/universalTransition.ts| 4 ++-- src/component/tooltip/TooltipHTMLContent.ts | 15 --- src/component/tooltip/TooltipRichContent.ts | 8 src/component/tooltip/TooltipView.ts| 16 5 files changed, 11 insertions(+), 34 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[GitHub] [echarts] echarts-bot[bot] commented on issue #15611: 最新的master版本的配置项series-line.markPoint.data. symbolOffset 还是无效。
echarts-bot[bot] commented on issue #15611: URL: https://github.com/apache/echarts/issues/15611#issuecomment-906605052 -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] dignfei opened a new issue #15611: 最新的master版本的配置项series-line.markPoint.data. symbolOffset 还是无效。
dignfei opened a new issue #15611: URL: https://github.com/apache/echarts/issues/15611 ### Version 5.1.2 ### Reproduction link [https://echarts.apache.org/zh/option.html#series-line.markPoint.data.symbolOffset](https://echarts.apache.org/zh/option.html#series-line.markPoint.data.symbolOffset) ### Steps to reproduce 20210826的master版本,symbolOffset还是无效 1.安装master版本: npm uninstall echarts npm install https://github.com/apache/echarts/tarball/master 2. option 配置: option = { xAxis: { type: "category", data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] }, yAxis: {}, series: [{ data: [820, 932, 901, 934, 1290, 1330, 1320], type: "line", markPoint: { data: [{ type: "max", symbolOffset: [123, 232] // 修改这里的值,图形不会变化,这里的设置无效 }] } }] } 3.修改symbolOffset的 x或y的值,图形不会变化。本来应该有变化的 ### What is expected? 5.0版本时,配置项series-line.markPoint.data. symbolOffset 有效,而之后的5.1和5.1.2版本和20210826的master版本 这个配置都失效了, ### What is actually happening? 配置项symbolOffset失效了 -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] AmosChenYQ edited a comment on pull request #15533: Feat: Enable interleaved at catagory label axis
AmosChenYQ edited a comment on pull request #15533: URL: https://github.com/apache/echarts/pull/15533#issuecomment-906574216 > Actually I have similar idea to place axis label above axis line, but there is a problem, axis label would cover by series item. Because `series` was drew after `component`. In the screenshot you provide is `line`, try `bar` series, it would cover axis label. My idea is when series type is set to 'bar', ignore 'interleaved'. Just like show below: ![image](https://user-images.githubusercontent.com/31386769/131002820-1e204eb6-5a1d-49af-ad2f-5d6a2fccc3c6.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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] AmosChenYQ commented on pull request #15533: Feat: Enable interleaved at catagory label axis
AmosChenYQ commented on pull request #15533: URL: https://github.com/apache/echarts/pull/15533#issuecomment-906574216 > Actually I have similar idea to place axis label above axis line, but there is a problem, axis label would cover by series item. Because `series` was drew after `component`. In the screenshot you provide is `line`, try `bar` series, it would cover axis label. My idea is when series type is set to 'bar', ignore interleaved. Just like show below: ![image](https://user-images.githubusercontent.com/31386769/131002820-1e204eb6-5a1d-49af-ad2f-5d6a2fccc3c6.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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] ataft opened a new issue #15610: Cannot stop timeline with low playInterval
ataft opened a new issue #15610: URL: https://github.com/apache/echarts/issues/15610 ### Version 5.1.2 ### Reproduction link [https://codepen.io/ataft/pen/yLXNVEZ](https://codepen.io/ataft/pen/yLXNVEZ) ### Steps to reproduce Set `playInterval` to a low number, for example 100, then press play. ### What is expected? The timeline pause/stop button should stop the timeline from running ### What is actually happening? The timeline does not stop. With large data sets, the timeline does not stop at playInterval as high as 400. With smaller data sets, the number is lower (e.g. 100). Using the CodePen above, modify the playInterval until you notice the behavior. -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] echarts-bot[bot] commented on issue #15610: Cannot stop timeline with low playInterval
echarts-bot[bot] commented on issue #15610: URL: https://github.com/apache/echarts/issues/15610#issuecomment-906554958 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 it contains **a minimum reproducible demo** and necessary **images** to illustrate. Otherwise, our committers will ask you to do so. *A minimum reproducible demo* should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster. 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 question. If you are interested in the project, you may also subscribe to our [mailing 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] echarts-bot[bot] commented on issue #15591: wrong value and placement for markPoint on stacked bar series
echarts-bot[bot] commented on issue #15591: URL: https://github.com/apache/echarts/issues/15591#issuecomment-906481578 This issue is labeled with `difficulty: easy`. @Georges67 Would you like to debug it by yourself? This is a quicker way to get your problem fixed. Or you may wait for the community to fix. Please have a look at [How to debug ECharts](https://github.com/apache/echarts/blob/master/CONTRIBUTING.md#how-to-debug-echarts) if you'd like to give a try. 🤓 -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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
[echarts-handbook] branch gh-pages updated (ce5da13 -> 40b4d77)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch gh-pages in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git. discard ce5da13 Deploying to gh-pages from @ apache/echarts-handbook@8e403043e6f6be30ecd650efd92cc44105bb5e3b 🚀 new 40b4d77 Deploying to gh-pages from @ apache/echarts-handbook@4ff777b75ccaea21db8973993c066d922c6a57db 🚀 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (ce5da13) \ N -- N -- N refs/heads/gh-pages (40b4d77) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. 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: docs/200.html| 4 ++-- docs/_nuxt/{73efdc0.js => 8a378ba.js}| 2 +- docs/_nuxt/js/0f16aa1074b87615fa84.js| 1 + docs/_nuxt/js/d2fafe01767cebe809f5.js| 1 - docs/en/application/chart-types/bar/bar-race/index.html | 4 ++-- docs/en/application/chart-types/bar/basic-bar/index.html | 4 ++-- docs/en/application/chart-types/bar/stacked-bar/index.html | 4 ++-- docs/en/application/chart-types/bar/waterfall/index.html | 4 ++-- docs/en/application/chart-types/line/area-line/index.html| 4 ++-- docs/en/application/chart-types/line/basic-line/index.html | 4 ++-- docs/en/application/chart-types/line/smooth-line/index.html | 4 ++-- docs/en/application/chart-types/line/stacked-line/index.html | 4 ++-- docs/en/application/chart-types/line/step-line/index.html| 4 ++-- docs/en/application/chart-types/pie/basic-pie/index.html | 4 ++-- docs/en/application/chart-types/pie/doughnut/index.html | 4 ++-- docs/en/application/chart-types/pie/rose/index.html | 4 ++-- docs/en/application/chart-types/scatter/basic-scatter/index.html | 4 ++-- docs/en/application/cross-platform/server/index.html | 4 ++-- docs/en/application/data/dynamic-data/index.html | 4 ++-- docs/en/application/interaction/drag/index.html | 4 ++-- docs/en/application/label/rich-text/index.html | 4 ++-- docs/en/basics/download/index.html | 4 ++-- docs/en/basics/help/index.html | 4 ++-- docs/en/basics/import/index.html | 4 ++-- docs/en/basics/inspiration/index.html| 4 ++-- docs/en/basics/release-note/v5-feature/index.html| 4 ++-- docs/en/basics/release-note/v5-upgrade-guide/index.html | 4 ++-- docs/en/best-practice/aria/index.html| 4 ++-- docs/en/best-practice/canvas-vs-svg/index.html | 4 ++-- docs/en/concepts/axis/index.html | 4 ++-- docs/en/concepts/chart-size/index.html | 4 ++-- docs/en/concepts/data-transform/index.html | 4 ++-- docs/en/concepts/dataset/index.html | 4 ++-- docs/en/concepts/event/index.html| 4 ++-- docs/en/concepts/legend/index.html | 4 ++-- docs/en/concepts/style/index.html| 4 ++-- docs/en/concepts/visual-map/index.html | 4 ++-- docs/en/get-started/index.html | 4 ++-- docs/en/index.html | 4 ++-- docs/en/meta/edit-guide/index.html | 4 ++-- docs/index.html | 4 ++-- docs/zh/application/chart-types/bar/bar-race/index.html | 4 ++-- docs/zh/application/chart-types/bar/basic-bar/index.html | 4 ++-- docs/zh/application/chart-types/bar/stacked-bar/index.html | 4 ++-- docs/zh/application/chart-types/bar/waterfall/index.html | 4 ++-- docs/zh/application/chart-types/line/area-line/index.html| 4 ++-- docs/zh/application/chart-types/line/basic-line/index.html | 4 ++-- docs/zh/application/chart-types/line/smooth-line/index.html | 4 ++-- docs/zh/application/chart-types/line/st
[echarts-handbook] branch master updated: try to fix the bug that generated contributors are missing
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/echarts-handbook.git The following commit(s) were added to refs/heads/master by this push: new 4ff777b try to fix the bug that generated contributors are missing 4ff777b is described below commit 4ff777b75ccaea21db8973993c066d922c6a57db Author: Zhongxiang.Wang AuthorDate: Thu Aug 26 20:25:58 2021 +0800 try to fix the bug that generated contributors are missing --- .github/workflows/deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2263b48..2754715 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,6 +11,9 @@ jobs: steps: - name: Checkout 🛎️ uses: actions/checkout@v2 +with: + # for generating contributors from all commit histories + fetch-depth: 0 - name: Install and Build 🔧 run: | - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-handbook] branch gh-pages updated (315565f -> ce5da13)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch gh-pages in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git. discard 315565f Deploying to gh-pages from @ apache/echarts-handbook@8e403043e6f6be30ecd650efd92cc44105bb5e3b 🚀 new ce5da13 Deploying to gh-pages from @ apache/echarts-handbook@8e403043e6f6be30ecd650efd92cc44105bb5e3b 🚀 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (315565f) \ N -- N -- N refs/heads/gh-pages (ce5da13) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. 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: - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-handbook] branch gh-pages updated (e4ad437 -> 315565f)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch gh-pages in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git. discard e4ad437 Deploying to gh-pages from @ apache/echarts-handbook@728d7973cdeaaa2ce471bbf91de0b49281784b9f 🚀 new 315565f Deploying to gh-pages from @ apache/echarts-handbook@8e403043e6f6be30ecd650efd92cc44105bb5e3b 🚀 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (e4ad437) \ N -- N -- N refs/heads/gh-pages (315565f) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. 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: docs/200.html| 4 ++-- docs/_nuxt/{abf0563.js => 73efdc0.js}| 2 +- docs/_nuxt/js/37987c3bcdb645cc745b.js| 1 - docs/_nuxt/js/d2fafe01767cebe809f5.js| 1 + docs/en/application/chart-types/bar/bar-race/index.html | 6 +++--- docs/en/application/chart-types/bar/basic-bar/index.html | 6 +++--- docs/en/application/chart-types/bar/stacked-bar/index.html | 6 +++--- docs/en/application/chart-types/bar/waterfall/index.html | 6 +++--- docs/en/application/chart-types/line/area-line/index.html| 6 +++--- docs/en/application/chart-types/line/basic-line/index.html | 6 +++--- docs/en/application/chart-types/line/smooth-line/index.html | 6 +++--- docs/en/application/chart-types/line/stacked-line/index.html | 6 +++--- docs/en/application/chart-types/line/step-line/index.html| 6 +++--- docs/en/application/chart-types/pie/basic-pie/index.html | 6 +++--- docs/en/application/chart-types/pie/doughnut/index.html | 6 +++--- docs/en/application/chart-types/pie/rose/index.html | 6 +++--- docs/en/application/chart-types/scatter/basic-scatter/index.html | 6 +++--- docs/en/application/cross-platform/server/index.html | 4 ++-- docs/en/application/data/dynamic-data/index.html | 6 +++--- docs/en/application/interaction/drag/index.html | 6 +++--- docs/en/application/label/rich-text/index.html | 6 +++--- docs/en/basics/download/index.html | 4 ++-- docs/en/basics/help/index.html | 4 ++-- docs/en/basics/import/index.html | 6 +++--- docs/en/basics/inspiration/index.html| 4 ++-- docs/en/basics/release-note/v5-feature/index.html| 6 +++--- docs/en/basics/release-note/v5-upgrade-guide/index.html | 6 +++--- docs/en/best-practice/aria/index.html| 6 +++--- docs/en/best-practice/canvas-vs-svg/index.html | 6 +++--- docs/en/concepts/axis/index.html | 6 +++--- docs/en/concepts/chart-size/index.html | 6 +++--- docs/en/concepts/data-transform/index.html | 6 +++--- docs/en/concepts/dataset/index.html | 6 +++--- docs/en/concepts/event/index.html| 6 +++--- docs/en/concepts/legend/index.html | 6 +++--- docs/en/concepts/style/index.html| 6 +++--- docs/en/concepts/visual-map/index.html | 6 +++--- docs/en/get-started/index.html | 6 +++--- docs/en/index.html | 4 ++-- docs/en/meta/edit-guide/index.html | 6 +++--- docs/index.html | 4 ++-- docs/zh/application/chart-types/bar/bar-race/index.html | 6 +++--- docs/zh/application/chart-types/bar/basic-bar/index.html | 6 +++--- docs/zh/application/chart-types/bar/stacked-bar/index.html | 6 +++--- docs/zh/application/chart-types/bar/waterfall/index.html | 6 +++--- docs/zh/application/chart-types/line/area-line/index.html| 6 +++--- docs/zh/application/chart-types/line/basic-line/index.html | 6 +++--- docs/zh/application/chart-types/line/smo
[echarts-handbook] branch master updated: hide post nav bar if no achors
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/echarts-handbook.git The following commit(s) were added to refs/heads/master by this push: new 8e40304 hide post nav bar if no achors 8e40304 is described below commit 8e403043e6f6be30ecd650efd92cc44105bb5e3b Author: plainheart AuthorDate: Thu Aug 26 19:33:34 2021 +0800 hide post nav bar if no achors --- pages/_.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/_.vue b/pages/_.vue index e45dd14..115e7c7 100644 --- a/pages/_.vue +++ b/pages/_.vue @@ -1,7 +1,7 @@ - + {{ $t('inThisPage') }}
[GitHub] [echarts] 520zzj commented on issue #9560: containLabel:true, 右边的文字还是被遮挡了
520zzj commented on issue #9560: URL: https://github.com/apache/echarts/issues/9560#issuecomment-906286584 我想知道你在哪知道我的邮箱的。。。 -- 原始邮件 -- 发件人: "apache/echarts" ***@***.***>; 发送时间: 2021年8月26日(星期四) 下午5:32 ***@***.***>; ***@***.**@***.***>; 主题: Re: [apache/echarts] containLabel:true, 右边的文字还是被遮挡了 (#9560) 遇到了同一个问题,尝试了很久,不能很好解决这个问题,求优化 在340X200的容器里实例化echarts
[GitHub] [echarts] echarts-bot[bot] closed issue #15609: Superimpose the histogram. Use 'diamond' and pictorialbar at the top. When you click the second segment of data of the first column, the obtain
echarts-bot[bot] closed issue #15609: URL: https://github.com/apache/echarts/issues/15609 -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] echarts-bot[bot] commented on issue #15609: Superimpose the histogram. Use 'diamond' and pictorialbar at the top. When you click the second segment of data of the first column, the
echarts-bot[bot] commented on issue #15609: URL: https://github.com/apache/echarts/issues/15609#issuecomment-906280814 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] wdlhao opened a new issue #15609: Superimpose the histogram. Use 'diamond' and pictorialbar at the top. When you click the second segment of data of the first column, the obtained n
wdlhao opened a new issue #15609: URL: https://github.com/apache/echarts/issues/15609 Version 4.0.4 Reproduction link [](https://www.makeapie.com/editor.html?c=xCsDpKfl_Y&v=10) Steps to reproduce 1、点击第一个柱子的第二段柱子时,获取的name应该是第一个柱子对应的x轴的名称,现在获取的name不匹配; 2、当echats顶部的legend被禁用点击事件后,后面的2个legend不能点击,这是正常的;但是前面的2个legend还能点击;触发了echart的click事件; 3、改变pictorialBar的z值,可以解决点击问题;但是不能满足柱状图现有的效果 When clicking the second section of the first column, the obtained name should be the name of the x-axis corresponding to the first column. Now the obtained name does not match; When the click event of the legend at the top of echats is disabled, the next two legends cannot be clicked, which is normal; However, the first two legend can be clicked; Triggered the click event of echart; Changing the Z value of pictorialbar can solve the click problem; However, it can not meet the existing effect of histogram The code is as follows: `const dataArr = { xAxis: ["果缤纷", "花果山", "百果园", "水果帮", "果多美", "农夫果园", "鲜丰水果", "果唯伊水果", "新隆嘉水果", "半斗米水果", "白鲜果", "旺旺水果", "安心果", "果乐乐", "养乐果", "果大大"], result: [ { name:"苹果",data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] }, { name:"梨子",data:[376.461, 0.489, 0.012, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] }, { name:"香蕉",data:[89.876, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] }, { name:"菠萝",data:[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] }, ] } const colors = [ ['rgba(73,228,170,.85)','rgba(75, 194, 149,.85)'], ['rgba(48,174,255,.85)', 'rgba(31,106,255,.85)'], ['rgba(251,207,60,.85)', 'rgba(196, 161, 47,.85)'], ['rgba(247, 77, 94,.85)', 'rgba(196, 65, 78,.85)'], ['rgba(178,103,239,.85)', 'rgba(128, 66, 179,.85)'], ['rgba(255, 251, 177,.85)', 'rgba(201, 197, 140,.85)'], ['rgba(187, 255, 255,.85)', 'rgba(145, 196, 196,.85)'], ['rgba(253, 210, 227,.85)', 'rgba(194, 163, 175,.85)'], ]; const topColors = [ 'rgb(73,228,170)', 'rgb(48,174,255)', 'rgb(251,207,60)', 'rgb(247, 77, 94)', 'rgb(178,103,239)', 'rgb(255, 251, 177)', 'rgb(187, 255, 255)', 'rgb(253, 210, 227)' ] const diamondData = dataArr.result.reduce((pre, cur, index) => { pre[index] = cur.data.map((el, id) => el + ( pre[index - 1] ? pre[index - 1][id] : 0)) return pre; }, []) let color = []; colors.forEach((item) => { color.push( [{ offset: 0, color: item[0] }, { offset: 0.5, color: item[0] }, { offset: 0.5, color: item[1] }, { offset: 1, color: item[1] }] ) }) let series = dataArr.result.reduce((p, c, i, array) => { let barGap = '-100%'; // 堆叠 let barCateGoryGap = '80%'; let barWidth = 34; p.push({ z: i + 1, stack: "group", type: 'bar', name: c.name, data: c.data, barWidth: barWidth, barGap: barGap, // 不同系列的柱间距离 barCateGoryGap: barCateGoryGap, itemStyle:{ color: { type: 'linear', x: 0, y: 0, x2: 1, y2: 0, colorStops: color[i] } } }, { z: i + 10, type: 'pictorialBar', symbolPosition: 'end', symbol: 'diamond', symbolOffset: [0, '-50%'], // 设置图形定位 symbolSize: [barWidth, 10], // 设置图形大小。宽度为柱状条同宽;高度为10; data: diamondData[i], // 计算的高度值 itemStyle: { color: function(params) { // 数据为0时,隐藏 if(c.data[params.dataIndex] == 0){ return 'transparent'; } return topColors[i]; }, }, tooltip: { show: false }, cursor:"auto", } ) // 是否最后一个了?设置底座样式 if (p.length === (array.length) * 2) { p.push({ z: array.length * 2, type: "pictorialBar", symbolPosition: "start", data: dataArr.result[0].data, symbol: "diamond", symbolOffset: ["0%", "50%"], symbolSize: [barWidth, 10], itemStyle: { color: { type: 'linear', x: 0, x2: 1, y: 0, y2: 0, colorStops: color[0] } }, tooltip: { show: false }, }) return p } return p }, []) option = { tooltip: { trigger: 'axis', backgroundColor: 'rgb(30,98,166)', textStyle:{ color:'#fff', }, axisPointer: { type: 'shadow' // 默认为直线,可选为:'line' | '
[GitHub] [echarts] 520zzj commented on issue #9560: containLabel:true, 右边的文字还是被遮挡了
520zzj commented on issue #9560: URL: https://github.com/apache/echarts/issues/9560#issuecomment-906275029 grid: { left: 8, right: 18, top: 38, bottom: 32, containLabel: true }, right:8改成18就行了 -- 原始邮件 -- 发件人: "apache/echarts" ***@***.***>; 发送时间: 2021年8月26日(星期四) 下午5:32 ***@***.***>; ***@***.**@***.***>; 主题: Re: [apache/echarts] containLabel:true, 右边的文字还是被遮挡了 (#9560) 遇到了同一个问题,尝试了很久,不能很好解决这个问题,求优化 在340X200的容器里实例化echarts
[GitHub] [echarts] eeeqxxtg commented on issue #9560: containLabel:true, 右边的文字还是被遮挡了
eeeqxxtg commented on issue #9560: URL: https://github.com/apache/echarts/issues/9560#issuecomment-906262032 不能贴图片,补一个codepen: https://codepen.io/eeeqxxtg/pen/wveaBBa -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] svedova commented on pull request #15583: Fix: time axis overlapped labels
svedova commented on pull request #15583: URL: https://github.com/apache/echarts/pull/15583#issuecomment-906259900 @pissang applied the changes, thanks for your help 🏓 -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] svedova commented on a change in pull request #15583: Fix: time axis overlapped labels
svedova commented on a change in pull request #15583: URL: https://github.com/apache/echarts/pull/15583#discussion_r696474185 ## File path: src/component/axis/AxisBuilder.ts ## @@ -347,6 +348,20 @@ const builders: Record<'axisLine' | 'axisTickLabel' | 'axisName', AxisElementsBu fixMinMaxLabelShow(axisModel, labelEls, ticksEls); buildAxisMinorTicks(group, transformGroup, axisModel, opt.tickDirection); + +// This bit fixes the label overlap issue for the Time chart. +// See https://github.com/apache/echarts/issues/14266 for more. +if (axisModel.get('type') === 'time') { +const labelList = prepareLayoutList(labelEls.map(label => ({ Review comment: Done as well 🙏 -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] svedova commented on a change in pull request #15583: Fix: time axis overlapped labels
svedova commented on a change in pull request #15583: URL: https://github.com/apache/echarts/pull/15583#discussion_r696474001 ## File path: src/component/axis/AxisBuilder.ts ## @@ -766,7 +781,7 @@ function buildAxisLabel( y: opt.labelOffset + opt.labelDirection * labelMargin, rotation: labelLayout.rotation, silent: silent, -z2: 10, +z2: labelItem.level, Review comment: Done! -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] eeeqxxtg commented on issue #9560: containLabel:true, 右边的文字还是被遮挡了
eeeqxxtg commented on issue #9560: URL: https://github.com/apache/echarts/issues/9560#issuecomment-906247931 遇到了同一个问题,尝试了很久,不能很好解决这个问题,求优化 在340X200的容器里实例化echarts ```html ``` 使用下面的option ```js option = { tooltip: { show: true, trigger: 'axis' }, legend: { show: true, type: 'scroll' }, grid: { left: 8, right: 8, top: 38, bottom: 32, containLabel: true }, xAxis: { data: [ '2014-03-31', '2014-06-30', '2014-09-30', '2014-12-31', '2015-01-31', '2015-02-28', '2015-03-31', ] }, yAxis: { type: 'value', axisLine: { show: true }, axisTick: { show: true }, splitLine: { show: false } }, series: [ { type: 'bar', name: '营业收入', barMaxWidth: 20, data: [ { value: 62.29 }, { value: 79.36 }, { value: 51.89 }, { value: 61.43 }, { value: 70.29 }, { value: 25.89 }, { value: 69.85 }, ] }] }; ``` -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] Qcheng001 commented on issue #15606: when i switch to another page ,then back to original page,echarts do not display
Qcheng001 commented on issue #15606: URL: https://github.com/apache/echarts/issues/15606#issuecomment-906226281 ![dh3](https://user-images.githubusercontent.com/47962720/130934139-1fab8fd2-4c42-4903-80cc-b6aa8602962e.gif) export to base64 ,this works well , -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] Qcheng001 commented on issue #15606: when i switch to another page ,then back to original page,echarts do not display
Qcheng001 commented on issue #15606: URL: https://github.com/apache/echarts/issues/15606#issuecomment-906213835 only when echarts container exists,it can display on the page,but if there is any other item ,it can not display -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] Qcheng001 commented on issue #15606: when i switch to another page ,then back to original page,echarts do not display
Qcheng001 commented on issue #15606: URL: https://github.com/apache/echarts/issues/15606#issuecomment-906172377 > @Qcheng001 Please check if your container still exists and chart instance has been recreated. 要怎么测试echarts实例有没有重新创建呢,它的容器是确实存在的,现在的话只有在部署到服务器上时才会出现这种情况,在我和同时的电脑上跑的时候就没事 ![dh2](https://user-images.githubusercontent.com/47962720/130921901-32a0df6a-046d-4c89-baa4-78f1aac24341.gif) -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] echarts-bot[bot] commented on issue #7878: 我访问Echarts官网出现403错误
echarts-bot[bot] commented on issue #7878: URL: https://github.com/apache/echarts/issues/7878#issuecomment-906170706 This issue is closed due to not being active. Please feel free to open it again (for the author) or create a new one and reference this (for others) if you have further questions. -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] echarts-bot[bot] closed issue #7878: 我访问Echarts官网出现403错误
echarts-bot[bot] closed issue #7878: URL: https://github.com/apache/echarts/issues/7878 -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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] [echarts] stale[bot] commented on issue #7878: 我访问Echarts官网出现403错误
stale[bot] commented on issue #7878: URL: https://github.com/apache/echarts/issues/7878#issuecomment-906170761 This issue is marked to be `stale` and is going to be closed within a week. If you think it shouldn't be closed, please leave a comment. -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org 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