(echarts-examples) branch gh-pages updated: Upgrade the dependent webpack to at least v5.13.0. Because since v5.13.0 (Jan 12, 2021) webpack starts to use dep `enhanced-resolve` v5.6.0, which starts to
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 The following commit(s) were added to refs/heads/gh-pages by this push: new 22d39f21 Upgrade the dependent webpack to at least v5.13.0. Because since v5.13.0 (Jan 12, 2021) webpack starts to use dep `enhanced-resolve` v5.6.0, which starts to support wildcard in `package.json` `"exports"` (wildcard is like "exports": { ..., "./*": "./*" }). After echarts & zrender v5.5.0, they were upgraded to use `"exports"` in `package.json`. If wildcard is not supported, in e2e test, echarts can not visit all of the internal files (via path like `zrender/lib/core/util.js`). 22d39f21 is described below commit 22d39f2162da91002da1b7ef2f961840ef0ac73c Author: 100pah AuthorDate: Thu Jun 20 01:11:25 2024 +0800 Upgrade the dependent webpack to at least v5.13.0. Because since v5.13.0 (Jan 12, 2021) webpack starts to use dep `enhanced-resolve` v5.6.0, which starts to support wildcard in `package.json` `"exports"` (wildcard is like "exports": { ..., "./*": "./*" }). After echarts & zrender v5.5.0, they were upgraded to use `"exports"` in `package.json`. If wildcard is not supported, in e2e test, echarts can not visit all of the internal files (via path like `zrender/lib/core/util.js`). --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 97958f1e..5dff591d 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "vue": "2.6.14", "vue-loader": "^15.9.6", "vue-template-compiler": "2.6.14", -"webpack": "^5.11.1", +"webpack": "^5.13.0", "webpack-bundle-analyzer": "^4.3.0", "webpack-cli": "^4.3.1", "yargs": "^6.6.0" @@ -77,4 +77,4 @@ "vue-i18n": "^8.18.2", "vue-scrollactive": "^0.9.3" } -} \ 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) branch fix/ts-type-visibility created (now a20948618)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch fix/ts-type-visibility in repository https://gitbox.apache.org/repos/asf/echarts.git at a20948618 Merge branch 'master' into fix/ts-type-visibility This branch includes the following new commits: new 71541f85a fix: In users' .d.ts `import('echarts/types/dist/shared')` can not visit `'echarts/types/dist/shared.d.ts'` since v5.5.0. Fix it. Fix #19663. new a20948618 Merge branch 'master' into fix/ts-type-visibility The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
(echarts) 02/02: Merge branch 'master' into fix/ts-type-visibility
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch fix/ts-type-visibility in repository https://gitbox.apache.org/repos/asf/echarts.git commit a20948618bf7dd498547c29c0a71b343b6c271e4 Merge: 71541f85a 4b2d52fd0 Author: 100pah AuthorDate: Fri Jun 14 02:43:53 2024 +0800 Merge branch 'master' into fix/ts-type-visibility src/chart/treemap/TreemapSeries.ts | 8 ++ src/chart/treemap/TreemapView.ts | 43 - test/treemap-scaleLimit.html | 181 + 3 files changed, 230 insertions(+), 2 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
(echarts) 01/02: fix: In users' .d.ts `import('echarts/types/dist/shared')` can not visit `'echarts/types/dist/shared.d.ts'` since v5.5.0. Fix it. Fix #19663.
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch fix/ts-type-visibility in repository https://gitbox.apache.org/repos/asf/echarts.git commit 71541f85af970bfe78cf397f177d2e23a08a1104 Author: 100pah AuthorDate: Fri Jun 14 02:42:37 2024 +0800 fix: In users' .d.ts `import('echarts/types/dist/shared')` can not visit `'echarts/types/dist/shared.d.ts'` since v5.5.0. Fix it. Fix #19663. --- package.README.md | 5 - package.json | 8 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/package.README.md b/package.README.md index 0b51fbc9b..0960ecbbd 100644 --- a/package.README.md +++ b/package.README.md @@ -1,7 +1,8 @@ # NOTICE about package.json -See more details about in the "exports" field of `package.json` and why it is written like that in https://github.com/apache/echarts/pull/19513 . +**[[!Remember!]]**: update the "exports" field of `package.json` if adding new public entry files. +See more details about in the "exports" field of `package.json` and why it is written like that in https://github.com/apache/echarts/pull/19513 . ## Public and private @@ -30,6 +31,8 @@ The other entries listed in the `"exports"` field of `package.json` make the int Since `v5.5.0`, `"type": "module"` and `"exports: {...}"` are added to `package.json`. When upgrading to `v5.5.0+`, if you meet some problems about "can not find/resolve xxx" when importing `echarts/i18n/xxx` or `echarts/theme/xxx` or some internal files, it probably because of the issue "file extension not fully specified". Please try to make the file extension fully specified (that is, `import 'xxx/xxx/xxx.js'` rather than `import 'xxx/xxx/xxx'`), or change the config of you bundler to [...] +About `"./types/dist/shared": "./types/dist/shared.d.ts",` in "exports", see https://github.com/apache/echarts/pull/19663 . + ## Use physical entry file or alias in `"exports"` of `package.json` diff --git a/package.json b/package.json index 3b4dd0fe3..6b25aab43 100644 --- a/package.json +++ b/package.json @@ -129,6 +129,14 @@ "./index.js": "./index.js", "./theme/*": "./theme/*", "./i18n/*": "./i18n/*", +"./types/dist/charts": "./types/dist/charts.d.ts", +"./types/dist/components": "./types/dist/components.d.ts", +"./types/dist/core": "./types/dist/core.d.ts", +"./types/dist/echarts": "./types/dist/echarts.d.ts", +"./types/dist/features": "./types/dist/features.d.ts", +"./types/dist/option": "./types/dist/option.d.ts", +"./types/dist/renderers": "./types/dist/renderers.d.ts", +"./types/dist/shared": "./types/dist/shared.d.ts", "./ssr/client/index": { "types": "./ssr/client/index.d.ts", "import": "./ssr/client/index.js", - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
(echarts) 01/01: fix: (1) Mistake in package.json "exports"."require" (2) Add entry for dist/** for file extension not specified usage (3) add dist/echarts.esm.mjs for case that not able to recognize
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch module_default_esm_fix2 in repository https://gitbox.apache.org/repos/asf/echarts.git commit 6cefe2700e9e792cd8acd5812e24942fa1947c21 Author: 100pah AuthorDate: Sun Feb 4 14:31:04 2024 +0800 fix: (1) Mistake in package.json "exports"."require" (2) Add entry for dist/** for file extension not specified usage (3) add dist/echarts.esm.mjs for case that not able to recognize as esm after dist/package.json with `{"type": "commonjs"}` added. --- build/build.js| 33 ++--- build/config.js | 7 --- package.README.md | 14 +- package.json | 14 +- 4 files changed, 56 insertions(+), 12 deletions(-) diff --git a/build/build.js b/build/build.js index fbf6e8820..af539be5e 100755 --- a/build/build.js +++ b/build/build.js @@ -111,13 +111,32 @@ async function run() { } else { const types = buildType.split(',').map(a => a.trim()); -const cfgs = types.map(type => -config.createECharts({ -...opt, -type -}) -); -await build(cfgs); + + +// Since 5.5.0, echarts/package.json added `{"type": "module"}`, and added +// echarts/dist/package.json with `{"type": "commonjs"}`, both of which makes +// echarts/dist/echarts.esm.js can not be recognized as esm any more (at least +// in webpack5 and nodejs) any more. So we provides echarts/dist/echarts.esm.mjs. +// But for backward compat, we still provide provides echarts/dist/echarts.esm.js. +const isBuildingDistESM = (opt.format || '').toLowerCase() === 'esm'; +if (isBuildingDistESM) { +await makeConfigAndBuild(opt, '.js'); +await makeConfigAndBuild(opt, '.mjs'); +} +else { +await makeConfigAndBuild(opt); +} + +async function makeConfigAndBuild(opt, fileExtension) { +const cfgs = types.map(type => +config.createECharts({ +...opt, +type, +fileExtension +}) +); +await build(cfgs); +} } } diff --git a/build/config.js b/build/config.js index 9d639e476..6d4fb25fa 100644 --- a/build/config.js +++ b/build/config.js @@ -38,7 +38,7 @@ function createAddLicensePlugin(sourcemap) { } } -function createOutputs(basename, { min }, commonOutputOpts) { +function createOutputs(basename, { min, fileExtension }, commonOutputOpts) { commonOutputOpts = { format: 'umd', ...commonOutputOpts @@ -59,7 +59,7 @@ function createOutputs(basename, { min }, commonOutputOpts) { createReplacePlugin('development'), createAddLicensePlugin(true) ], -file: basename + '.js' +file: basename + (fileExtension || '.js') }]; if (min) { @@ -73,7 +73,7 @@ function createOutputs(basename, { min }, commonOutputOpts) { terser(), createAddLicensePlugin(false) ], -file: basename + '.min.js' +file: basename + '.min' + (fileExtension || '.js') }) } return output; @@ -86,6 +86,7 @@ function createOutputs(basename, { min }, commonOutputOpts) { * @param {string} [opt.format='umd'] If set, `opt.input` is required too, and `opt.type` is ignored. * @param {string} [opt.min=false] If build minified output * @param {boolean} [opt.addBundleVersion=false] Only for debug in watch, prompt that the two build is different. + * @param {string} [opt.fileExtension=undefined] output file extension, default is '.js'. Should start with '.'. */ exports.createECharts = function (opt = {}) { const srcType = opt.type !== 'all' ? '.' + opt.type : ''; diff --git a/package.README.md b/package.README.md index 014af704e..0b51fbc9b 100644 --- a/package.README.md +++ b/package.README.md @@ -1,5 +1,10 @@ # NOTICE about package.json +See more details about in the "exports" field of `package.json` and why it is written like that in https://github.com/apache/echarts/pull/19513 . + + +## Public and private + Only these entries are officially exported to users: + `'echarts'` + `'echarts/index.js'` @@ -20,6 +25,13 @@ Only these entries are officially exported to users: The other entries listed in the `"exports"` field of `package.json` make the internal files visible, but they are legacy usages, not recommended but not forbidden (for the sake of keeping backward compatible). These entries are made from the search in github about which internal files are imported. + +## File extension fully specified + Since `v5.5.0`, `"type": "module"` and `"exports: {...}"` are added to
(echarts) branch module_default_esm_fix2 created (now 6cefe2700)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch module_default_esm_fix2 in repository https://gitbox.apache.org/repos/asf/echarts.git at 6cefe2700 fix: (1) Mistake in package.json "exports"."require" (2) Add entry for dist/** for file extension not specified usage (3) add dist/echarts.esm.mjs for case that not able to recognize as esm after dist/package.json with `{"type": "commonjs"}` added. This branch includes the following new commits: new 6cefe2700 fix: (1) Mistake in package.json "exports"."require" (2) Add entry for dist/** for file extension not specified usage (3) add dist/echarts.esm.mjs for case that not able to recognize as esm after dist/package.json with `{"type": "commonjs"}` added. 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
(echarts) 01/01: fix: (1) fix that some old version bundler (like rollup) do not recognize wildcard that not at the end of the patter string (e.g. "exports: {"./*.js": "xxx"}"). (2) Add readme to pack
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch module_default_esm_fix in repository https://gitbox.apache.org/repos/asf/echarts.git commit d403486dadb46addf6d584208d48ac34293df8f4 Author: 100pah AuthorDate: Thu Jan 25 03:26:18 2024 +0800 fix: (1) fix that some old version bundler (like rollup) do not recognize wildcard that not at the end of the patter string (e.g. "exports: {"./*.js": "xxx"}"). (2) Add readme to package.json. --- build/pre-publish.js | 2 +- package.README.md| 25 + package.json | 76 +--- 3 files changed, 92 insertions(+), 11 deletions(-) diff --git a/build/pre-publish.js b/build/pre-publish.js index 9f6b68149..e73525901 100644 --- a/build/pre-publish.js +++ b/build/pre-publish.js @@ -39,7 +39,7 @@ const transformDEVUtil = require('./transform-dev'); const preamble = require('./preamble'); const dts = require('@lang/rollup-plugin-dts').default; const rollup = require('rollup'); -const { transformImport } = require('zrender/build/transformImport'); +const { transformImport } = require('zrender/build/transformImport.js'); const ecDir = nodePath.resolve(__dirname, '..'); const tmpDir = nodePath.resolve(ecDir, 'pre-publish-tmp'); diff --git a/package.README.md b/package.README.md new file mode 100644 index 0..014af704e --- /dev/null +++ b/package.README.md @@ -0,0 +1,25 @@ +# NOTICE about package.json + +Only these entries are officially exported to users: ++ `'echarts'` ++ `'echarts/index.js'` ++ `'echarts/index.blank.js'` ++ `'echarts/index.common.js'` ++ `'echarts/index.simple.js'` ++ `'echarts/core.js'` ++ `'echarts/charts.js'` ++ `'echarts/components.js'` ++ `'echarts/features.js'` ++ `'echarts/renderers.js'` ++ `'echarts/i18n/*` ++ `'echarts/theme/*` ++ `'echarts/types/*` ++ `'echarts/extension/*` ++ `'echarts/dist/*` ++ `'echarts/ssr/client/index.js'` + +The other entries listed in the `"exports"` field of `package.json` make the internal files visible, but they are legacy usages, not recommended but not forbidden (for the sake of keeping backward compatible). These entries are made from the search in github about which internal files are imported. + +Since `v5.5.0`, `"type": "module"` and `"exports: {...}"` are added to `package.json`. When upgrading to `v5.5.0+`, if you meet some problems about "can not find/resolve xxx" when importing `echarts/i18n/xxx` or `echarts/theme/xxx` or some internal files, it probably because of the issue "file extension not fully specified". Please try to make the file extension fully specified (that is, `import 'xxx/xxx/xxx.js'` rather than `import 'xxx/xxx/xxx'`), or change the config of you bundler to [...] + +See more details about in the "exports" field of `package.json` and why it is written like that in https://github.com/apache/echarts/pull/19513 . diff --git a/package.json b/package.json index 3fc7aa42c..cb5a85f8a 100644 --- a/package.json +++ b/package.json @@ -127,23 +127,79 @@ "./index.simple.js": "./index.simple.js", "./index": "./index.js", "./index.js": "./index.js", +"./theme/*": "./theme/*", +"./i18n/*": "./i18n/*", +"./ssr/client/index": { + "types": "./ssr/client/index.d.ts", + "import": "./ssr/client/index.js", + "require": "./ssr/client/dist/index.js" +}, "./extension/dataTool": "./extension/dataTool/index.js", "./extension/dataTool/index": "./extension/dataTool/index.js", "./extension/dataTool/index.js": "./extension/dataTool/index.js", +"./extension/dataTool/gexf": "./extension/dataTool/gexf.js", +"./extension/dataTool/gexf.js": "./extension/dataTool/gexf.js", +"./extension/dataTool/prepareBoxplotData": "./extension/dataTool/prepareBoxplotData.js", +"./extension/dataTool/prepareBoxplotData.js": "./extension/dataTool/prepareBoxplotData.js", "./extension/bmap/bmap": "./extension/bmap/bmap.js", "./extension/bmap/bmap.js": "./extension/bmap/bmap.js", "./lib/echarts": "./lib/echarts.js", "./lib/echarts.js": "./lib/echarts.js", "./lib/extension": "./lib/extension.js", "./lib/extension.js": "./lib/extension.js", -"./ssr/client/index": { - "types": "./ssr/client/index.d.ts", - "import": "./ssr/client/index.js", - "require": "./ssr/client/dist/index.js" -
(echarts) branch module_default_esm_fix created (now d403486da)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch module_default_esm_fix in repository https://gitbox.apache.org/repos/asf/echarts.git at d403486da fix: (1) fix that some old version bundler (like rollup) do not recognize wildcard that not at the end of the patter string (e.g. "exports: {"./*.js": "xxx"}"). (2) Add readme to package.json. This branch includes the following new commits: new d403486da fix: (1) fix that some old version bundler (like rollup) do not recognize wildcard that not at the end of the patter string (e.g. "exports: {"./*.js": "xxx"}"). (2) Add readme to package.json. 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
(echarts) branch module_default_esm updated (abe29f0e7 -> 80172d698)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch module_default_esm in repository https://gitbox.apache.org/repos/asf/echarts.git from abe29f0e7 [fix] tweak ssr ts type, impl, exports and eslint add 64fdec6b0 chore: ignore ssr src when release npm add 94dd855f8 Merge pull request #19512 from apache/feat/ssr-build add 690ebe6ee fix(graph): fix force layout iteration timer doesn't stop after disposing the chart add 6cae00c7b Merge pull request #19514 from apache/fix/graph-dispose add 3a056bde1 fix(markArea): fix markArea position when axis is with alignWithLabel add 53bb9ff2f Merge pull request #19516 from apache/fix/mark-area add 243856242 feat(animation): support multi-level drill-down for universal transition #17611 add 80172d698 Merge branch 'master' into module_default_esm No new revisions were added by this update. Summary of changes: .npmignore| 1 + src/animation/universalTransition.ts | 174 +--- src/chart/bar/BaseBarSeries.ts| 3 +- src/chart/graph/GraphView.ts | 8 +- src/util/types.ts | 5 +- test/graph-case.html | 57 ++- test/markArea.html| 308 +- test/runTest/actions/__meta__.json| 2 +- test/runTest/actions/graph-case.json | 2 +- test/universalTransition-multiLevelDrillDown.html | 476 ++ 10 files changed, 981 insertions(+), 55 deletions(-) create mode 100644 test/universalTransition-multiLevelDrillDown.html - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
(echarts) branch module_default_esm updated (23545a6b6 -> abe29f0e7)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch module_default_esm in repository https://gitbox.apache.org/repos/asf/echarts.git from 23545a6b6 feat: change to default ESM package. For developer testing and node usage in customization module scenario. add abe29f0e7 [fix] tweak ssr ts type, impl, exports and eslint No new revisions were added by this update. Summary of changes: .eslintrc-common.yaml | 2 +- .gitignore | 3 + build/pre-publish.js | 21 +++--- .../template/ssr/client/index.d.ts | 2 +- .../template/ssr/client/index.js | 2 +- package.json | 9 ++- ssr/client/dist/index.js | 73 ++-- ssr/client/dist/index.js.map | 2 +- {src => ssr/client/src}/.eslintrc.yaml | 2 +- ssr/client/src/index.ts| 80 ++ test/ssr.html | 33 - tsconfig.json | 1 + 12 files changed, 131 insertions(+), 99 deletions(-) copy test/ut/core/setup.ts => build/template/ssr/client/index.d.ts (96%) copy src/global.d.ts => build/template/ssr/client/index.js (96%) copy {src => ssr/client/src}/.eslintrc.yaml (97%) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
(echarts) tag 5.4.2-rc1 created (now cfb3a8a54)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to tag 5.4.2-rc1 in repository https://gitbox.apache.org/repos/asf/echarts.git at cfb3a8a54 (commit) No new revisions were added by this update. - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
(echarts) 01/01: [test] Add test case for https://github.com/apache/echarts/issues/19093
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch master-tmp in repository https://gitbox.apache.org/repos/asf/echarts.git commit a59feb4466c69c4380df6d7b365f21a20836df9f Author: 100pah AuthorDate: Mon Dec 4 17:41:51 2023 +0800 [test] Add test case for https://github.com/apache/echarts/issues/19093 --- test/lib/testHelper.js| 3 + test/manual-svg-color-bug-202311.html | 184 ++ 2 files changed, 187 insertions(+) diff --git a/test/lib/testHelper.js b/test/lib/testHelper.js index 6df2c44a6..c570529d3 100644 --- a/test/lib/testHelper.js +++ b/test/lib/testHelper.js @@ -76,6 +76,7 @@ * @param {Array.|Object} [opt.buttons] {text: ..., onClick: ...}, or an array of them. * @param {boolean} [opt.recordCanvas] 'test/lib/canteen.js' is required. * @param {boolean} [opt.recordVideo] + * @param {string} [opt.renderer] 'canvas' or 'svg' */ testHelper.create = function (echarts, domOrId, opt) { var dom = getDom(domOrId); @@ -267,6 +268,7 @@ * @param {number} opt.width * @param {number} opt.height * @param {boolean} opt.draggable + * @param {string} opt.renderer 'canvas' or 'svg' */ testHelper.createChart = function (echarts, domOrId, option, opt) { if (typeof opt === 'number') { @@ -287,6 +289,7 @@ } var chart = echarts.init(dom, null, { +renderer: opt.renderer, useCoarsePointer: opt.useCoarsePointer, pointerSize: opt.pointerSize }); diff --git a/test/manual-svg-color-bug-202311.html b/test/manual-svg-color-bug-202311.html new file mode 100644 index 0..15d95b4e4 --- /dev/null +++ b/test/manual-svg-color-bug-202311.html @@ -0,0 +1,184 @@ + + + + + + + + + + + + + + + + + + + +Test this case on Safari. +For https://github.com/apache/echarts/issues/19093;>apache/echarts#19093 + + + + + + +require([ +'echarts', +], function (echarts) { + +var option; + +option = { +animation: false, +"xAxis": { +"type": "category", +"data": ["2018FY", "2019FY", "2020FY", "2021FY", "2022FY"], +axisLabel: {show: false} +}, +"yAxis": { +"type": "value", +axisLabel: {show: false} +}, +"series": [ +{ +"type": "bar", +"name": "总营收(万美元)", +"data": [111, 222, , 444, 555], +"label": { +"show": true, +"position": "top" +} +} +] +};; + +var chart = testHelper.create(echarts, 'main0', { +title: [ +'hover the bar and then leave (in mobile, just touch the bar)', +'The label color should not become white.' +], +option: option, +renderer: 'svg', +}); +}); + + + + +require([ +'echarts', +], function (echarts) { + +var option; +option = { +title: { +text: 'Funnel' +}, +tooltip: { +trigger: 'item', +formatter: '{a} <br/>{b} : {c}%' +}, +toolbox: { +feature: { +dataView: { readOnly: false }, +restore: {}, +saveAsImage: {} +} +}, +legend: { +data: ['Show', 'Click', 'Visit', 'Inquiry', 'Order'] +}, +series: [ +{ +name: 'Expected', +type: 'funnel', +left: '10%', +width: '80%', +label: { +formatter: '{b}Expected' +}, +labelLine: { +show: f
(echarts) branch master-tmp created (now a59feb446)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch master-tmp in repository https://gitbox.apache.org/repos/asf/echarts.git at a59feb446 [test] Add test case for https://github.com/apache/echarts/issues/19093 This branch includes the following new commits: new a59feb446 [test] Add test case for https://github.com/apache/echarts/issues/19093 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
[echarts] 01/01: Merge pull request #18039 from apache/graph-thumbnail-upgrade
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch next-thumbnail in repository https://gitbox.apache.org/repos/asf/echarts.git commit a244af6f19d6b782f47c2f071cddd0a403e5efa9 Merge: c2eb34af4 f7e61f20c Author: sushuang AuthorDate: Thu Dec 8 18:34:50 2022 +0800 Merge pull request #18039 from apache/graph-thumbnail-upgrade feat(thumbnail): upgrade thumbnail src/chart/graph/GraphSeries.ts | 34 +-- src/chart/graph/GraphView.ts | 161 --- src/chart/graph/Thumbnail.ts | 429 ++-- src/chart/tree/TreeView.ts | 6 +- src/component/helper/RoamController.ts | 17 +- src/component/helper/roamHelper.ts | 12 +- src/util/layout.ts | 37 ++- test/graph-thumbnail.html | 505 +++-- 8 files changed, 492 insertions(+), 709 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch next-thumbnail updated (c2eb34af4 -> a244af6f1)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch next-thumbnail in repository https://gitbox.apache.org/repos/asf/echarts.git from c2eb34af4 Merge pull request #17471 from Lruler/feat-11352 add f7e61f20c feat(thumbnail): upgrade thumbnail (1) Enable pan and zoom on thumbnail (2) Rename selectedAreaStyle to windowStyle (3) Clean up the code (4) Support border-radius and clip. new a244af6f1 Merge pull request #18039 from apache/graph-thumbnail-upgrade 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/chart/graph/GraphSeries.ts | 34 +-- src/chart/graph/GraphView.ts | 161 --- src/chart/graph/Thumbnail.ts | 429 ++-- src/chart/tree/TreeView.ts | 6 +- src/component/helper/RoamController.ts | 17 +- src/component/helper/roamHelper.ts | 12 +- src/util/layout.ts | 37 ++- test/graph-thumbnail.html | 505 +++-- 8 files changed, 492 insertions(+), 709 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] 01/01: feat(thumbnail): upgrade thumbnail (1) Enable pan and zoom on thumbnail (2) Rename selectedAreaStyle to windowStyle (3) Clean up the code (4) Support border-radius and clip.
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch graph-thumbnail-upgrade in repository https://gitbox.apache.org/repos/asf/echarts.git commit f7e61f20c1f91431d4ef4f70b5ecd392dc764a13 Author: 100pah AuthorDate: Thu Dec 8 15:02:08 2022 +0800 feat(thumbnail): upgrade thumbnail (1) Enable pan and zoom on thumbnail (2) Rename selectedAreaStyle to windowStyle (3) Clean up the code (4) Support border-radius and clip. --- src/chart/graph/GraphSeries.ts | 34 +-- src/chart/graph/GraphView.ts | 161 --- src/chart/graph/Thumbnail.ts | 429 ++-- src/chart/tree/TreeView.ts | 6 +- src/component/helper/RoamController.ts | 17 +- src/component/helper/roamHelper.ts | 12 +- src/util/layout.ts | 37 ++- test/graph-thumbnail.html | 505 +++-- 8 files changed, 492 insertions(+), 709 deletions(-) diff --git a/src/chart/graph/GraphSeries.ts b/src/chart/graph/GraphSeries.ts index 5d69a30f3..3d96ac34e 100644 --- a/src/chart/graph/GraphSeries.ts +++ b/src/chart/graph/GraphSeries.ts @@ -43,8 +43,7 @@ import { GraphEdgeItemObject, OptionDataValueNumeric, CallbackDataParams, -DefaultEmphasisFocus, -ZRColor +DefaultEmphasisFocus } from '../../util/types'; import SeriesModel from '../../model/Series'; import Graph from '../../data/Graph'; @@ -55,6 +54,7 @@ import { LineDataVisual } from '../../visual/commonVisualTypes'; import { createTooltipMarkup } from '../../component/tooltip/tooltipMarkup'; import { defaultSeriesFormatTooltip } from '../../component/tooltip/seriesFormatTooltip'; import {initCurvenessList, createEdgeMapForCurveness} from '../helper/multipleGraphEdgeHelper'; +import Thumbnail, { ThumbnailOption } from './Thumbnail'; type GraphDataValue = OptionDataValue | OptionDataValue[]; @@ -230,13 +230,7 @@ export interface GraphSeriesOption */ autoCurveness?: boolean | number | number[] -thumbnail?: BoxLayoutOptionMixin & { -show?: boolean, - -itemStyle?: ItemStyleOption - -selectedAreaStyle?: ItemStyleOption -} +thumbnail?: ThumbnailOption } class GraphSeriesModel extends SeriesModel { @@ -519,27 +513,7 @@ class GraphSeriesModel extends SeriesModel { } }, -thumbnail: { -show: false, - -right: 0, -bottom: 0, - -height: '25%', -width: '25%', - -itemStyle: { -color: 'white', -borderColor: 'black' -}, - -selectedAreaStyle: { -color: 'white', -borderColor: 'black', -borderWidth: 1, -opacity: 0.5 -} -} +thumbnail: Thumbnail.defaultOption }; } diff --git a/src/chart/graph/GraphView.ts b/src/chart/graph/GraphView.ts index 329cfe5cf..f5c4b7ba6 100644 --- a/src/chart/graph/GraphView.ts +++ b/src/chart/graph/GraphView.ts @@ -19,8 +19,12 @@ import SymbolDraw, { ListForSymbolDraw } from '../helper/SymbolDraw'; import LineDraw from '../helper/LineDraw'; -import RoamController, { RoamControllerHost } from '../../component/helper/RoamController'; -import * as roamHelper from '../../component/helper/roamHelper'; +import RoamController from '../../component/helper/RoamController'; +import { +updateViewOnZoom, +updateViewOnPan, +RoamControllerHost +} from '../../component/helper/roamHelper'; import {onIrrelevantElement} from '../../component/helper/cursorHelper'; import * as graphic from '../../util/graphic'; import adjustEdge from './adjustEdge'; @@ -39,6 +43,8 @@ import Thumbnail from './Thumbnail'; import { simpleLayoutEdge } from './simpleLayoutHelper'; import { circularLayout, rotateNodeLabel } from './circularLayoutHelper'; +import { clone, extend } from 'zrender/src/core/util'; +import ECLinePath from '../helper/LinePath'; function isViewCoordSys(coordSys: CoordinateSystem): coordSys is View { return coordSys.type === 'view'; @@ -63,7 +69,7 @@ class GraphView extends ChartView { private _layouting: boolean; -private _thumbnail: Thumbnail; +private _thumbnail: Thumbnail = new Thumbnail(); private _mainGroup: graphic.Group; @@ -218,9 +224,10 @@ class GraphView extends ChartView { dispose() { this._controller && this._controller.dispose(); this._controllerHost = null; +this._thumbnail.dispose(); } -_startForceLayoutIteration( +private _startForceLayoutIteration( forceLayout: GraphSeriesModel['forceLayout'], api: ExtensionAPI, layoutAnimation?: boolean @@ -241,7 +248,7 @@ class GraphView extends ChartView { })(); } -_updateController( +private _updateController( seriesModel: GraphSeriesModel,
[echarts] branch graph-thumbnail-upgrade created (now f7e61f20c)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch graph-thumbnail-upgrade in repository https://gitbox.apache.org/repos/asf/echarts.git at f7e61f20c feat(thumbnail): upgrade thumbnail (1) Enable pan and zoom on thumbnail (2) Rename selectedAreaStyle to windowStyle (3) Clean up the code (4) Support border-radius and clip. This branch includes the following new commits: new f7e61f20c feat(thumbnail): upgrade thumbnail (1) Enable pan and zoom on thumbnail (2) Rename selectedAreaStyle to windowStyle (3) Clean up the code (4) Support border-radius and clip. 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
[echarts] branch next-thumbnail updated (1dadcabe2 -> c2eb34af4)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch next-thumbnail in repository https://gitbox.apache.org/repos/asf/echarts.git from 1dadcabe2 Merge pull request #17611 from tyn1998/feat/multi-drill new 214a37699 [feat]: add thumbnails components new 8f0bb6255 [feat]: add interface about ThumbanilOption new 0c4bef3a2 [feat]: add Thumbnail for tree,graph,map,sankey new 3ae14712a [feat]: add Thumbnail for tree,graph,map,sankey new 342c5e103 [feat]: add Thumbnail for tree,graph,map,sankey new 0948b0ae0 [feat]: add Thumbnail for tree,graph,map,sankey new 3df93f747 [fix]:fix the code format new 7fc143dbe [fix]:fix the code format new 3933e85ac [fix]:fix the code format new 3f9e49f2d [fix]:fix the code format new 2a897d6fb [fix]:fix the code format new 41c24254e [fix]:fix the code format new cffd1b60e [fix]:fix the code format new e83a6509b [fix]:fix the code format new b101a933f [fix]:fix the code format new ef44b3fa6 [fix]:fix the code format new 7eb89ceaa [feat]: add Thumbnail Component for graph new 9063d9475 [feat]: add Thumbnail Component for graph new 395308e6d [feat]: add Thumbnail Component for graph new b1b835029 [feat]: add Thumbnail Component for graph new e073e427d [feat]: add Thumbnail Component for graph new 6ffd037db [feat]: add Thumbnail Component for graph new 22f869d5b [feat]: add Thumbnail Component for graph new b4fff366d [fix]: fix the select overflow the thumbnail container new 0e31443a2 [fix]: use BoxLayoutOptionMixin in thumbnailSeries new 84940d6f3 [fix]: resolved conflicts new 255af4ce3 [fix]: resolved conflicts new 3fc74e8c4 [fix]: resolved conflicts new c2eb34af4 Merge pull request #17471 from Lruler/feat-11352 The 8960 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: src/chart/graph/GraphSeries.ts | 34 ++- src/chart/graph/GraphView.ts | 50 +++- src/chart/graph/Thumbnail.ts | 265 +++ test/graph-thumbnail.html | 579 + 4 files changed, 915 insertions(+), 13 deletions(-) create mode 100644 src/chart/graph/Thumbnail.ts create mode 100644 test/graph-thumbnail.html - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch next-thumbnail created (now 1dadcabe2)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch next-thumbnail in repository https://gitbox.apache.org/repos/asf/echarts.git at 1dadcabe2 Merge pull request #17611 from tyn1998/feat/multi-drill No new revisions were added by this update. - 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 #17696 from apache/release
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git commit 3ca9e32a9f94f0d01dd3e1e7dc477ce367b114f9 Merge: 583711e95 6347c2c3e Author: sushuang AuthorDate: Mon Sep 26 01:05:06 2022 +0800 Merge pull request #17696 from apache/release Merge 5.4.0 release to master dist/echarts.common.js | 1207 +++-- dist/echarts.common.js.map |2 +- dist/echarts.common.min.js |4 +- dist/echarts.esm.js | 1557 ++ dist/echarts.esm.js.map |2 +- dist/echarts.esm.min.js |4 +- dist/echarts.js | 1557 ++ dist/echarts.js.map |2 +- dist/echarts.min.js |4 +- dist/echarts.simple.js | 1164 +++- dist/echarts.simple.js.map |2 +- dist/echarts.simple.min.js |4 +- dist/extension/bmap.js | 14 +- dist/extension/bmap.js.map |2 +- i18n/langUA-obj.js | 174 + i18n/langUA.js | 170 + package-lock.json| 728 ++ package.json |8 +- src/animation/basicTransition.ts |8 +- src/chart/bar/BaseBarSeries.ts |7 +- src/core/echarts.ts |4 +- test/dataView.html |6 +- 22 files changed, 3719 insertions(+), 2911 deletions(-) diff --cc package-lock.json index bdc0335a4,260b4e717..9e8a5f09c --- a/package-lock.json +++ b/package-lock.json @@@ -13471,25 -13260,14 +13326,24 @@@ "bin": { "z-schema": "bin/z-schema" }, + "engines": { +"node": ">=8.0.0" + }, "optionalDependencies": { -"commander": "^2.7.1" +"commander": "^2.20.3" } }, +"node_modules/z-schema/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz;, + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true, + "optional": true +}, "node_modules/zrender": { - "name": "zrender-nightly", - "version": "5.3.3-dev.20220820", - "resolved": "https://registry.npmjs.org/zrender-nightly/-/zrender-nightly-5.3.3-dev.20220820.tgz;, - "integrity": "sha512-/4hBgw+X1EAZ+wE/4VYfOJEkOD+FWJ+GUEMYVNUoo8FWpU97avPhcTVMupP2w6qjuDY8178ivDs8PMBL7igdxQ==", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/zrender/-/zrender-5.4.0.tgz;, + "integrity": "sha512-rOS09Z2HSVGFs2dn/TuYk5BlCaZcVe8UDLLjj1ySYF828LATKKdxuakSZMvrDz54yiKPDYVfjdKqcX8Jky3BIA==", "dependencies": { "tslib": "2.3.0" } diff --cc src/chart/bar/BaseBarSeries.ts index e21d96830,45e2836a9..0626e4717 --- a/src/chart/bar/BaseBarSeries.ts +++ b/src/chart/bar/BaseBarSeries.ts @@@ -29,12 -30,9 +30,12 @@@ import import GlobalModel from '../../model/Global'; import Cartesian2D from '../../coord/cartesian/Cartesian2D'; import SeriesData from '../../data/SeriesData'; +import {dimPermutations} from '../../component/marker/MarkAreaView'; +import { each } from 'zrender/src/core/util'; +import type Axis2D from '../../coord/cartesian/Axis2D'; - export interface BaseBarSeriesOption + export interface BaseBarSeriesOption extends SeriesOption, SeriesOnCartesianOptionMixin, SeriesOnPolarOptionMixin { - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch master updated (583711e95 -> 3ca9e32a9)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git from 583711e95 Merge pull request #17098 from jiawulin001/issue#17021 add 3e068d7a4 Merge pull request #17570 from apache/master add 8b66bf74b fix: ensure compatibility with typescript@4.8 fixes #17581 add b9f330b15 Merge pull request #17582 from AviVahl/fix-ts4.8-compatibility add 4d218b10c Merge pull request #17614 from apache/master add 6037f16af chore: fix test case. add 2e71525c4 fix: upgrade typescript-eslint to enable ts check with the currently used ts version. add 1acad3895 release: 5.4.0 add 6347c2c3e Merge pull request #17645 from apache/release-dev new 3ca9e32a9 Merge pull request #17696 from apache/release 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: dist/echarts.common.js | 1207 --- dist/echarts.common.js.map |2 +- dist/echarts.common.min.js |4 +- dist/echarts.esm.js | 1557 +- dist/echarts.esm.js.map |2 +- dist/echarts.esm.min.js |4 +- dist/echarts.js | 1557 +- dist/echarts.js.map |2 +- dist/echarts.min.js |4 +- dist/echarts.simple.js | 1164 -- dist/echarts.simple.js.map |2 +- dist/echarts.simple.min.js |4 +- dist/extension/bmap.js | 14 +- dist/extension/bmap.js.map |2 +- src/i18n/langUA.ts => i18n/langUA-obj.js | 65 +- src/i18n/langUA.ts => i18n/langUA.js | 61 +- package-lock.json| 728 +- package.json |8 +- src/animation/basicTransition.ts |8 +- src/chart/bar/BaseBarSeries.ts |7 +- src/core/echarts.ts |4 +- test/dataView.html |6 +- 22 files changed, 3467 insertions(+), 2945 deletions(-) copy src/i18n/langUA.ts => i18n/langUA-obj.js (76%) copy src/i18n/langUA.ts => i18n/langUA.js (77%) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-www] branch master updated: add 5.4.0
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-www.git The following commit(s) were added to refs/heads/master by this push: new 66872e32 add 5.4.0 66872e32 is described below commit 66872e328db8e3b7c29f983a69371f42baeb61e7 Author: 100pah AuthorDate: Mon Sep 26 00:24:31 2022 +0800 add 5.4.0 --- js/download.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/download.js b/js/download.js index 23755995..56f6d129 100644 --- a/js/download.js +++ b/js/download.js @@ -1,9 +1,9 @@ // $.getJSON("https://api.github.com/repos/apache/echarts/releases;).done(function (param) { // `-MM-dd` should be correct. `hh:mm:ss` doesn't matter. var param = [{ -publishedAt: '2022-06-14T00:00:00Z', +publishedAt: '2022-09-25T00:00:00Z', prerelease: false, -name: '5.3.3' +name: '5.4.0' }]; var table = document.getElementById('download-table'); - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-doc] branch master updated: fix: tweak changelog.
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-doc.git The following commit(s) were added to refs/heads/master by this push: new b446bcb3 fix: tweak changelog. b446bcb3 is described below commit b446bcb3cd4ba08353ac94971645ac50788d7a12 Author: 100pah AuthorDate: Sun Sep 25 23:34:26 2022 +0800 fix: tweak changelog. --- en/changelog.md | 2 +- zh/changelog.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/changelog.md b/en/changelog.md index 9ccfd027..5f4b2bdb 100644 --- a/en/changelog.md +++ b/en/changelog.md @@ -3,7 +3,7 @@ + [Feature] Coarse pointer tolerance. [#17102](https://github.com/apache/echarts/issues/17102) ([Ovilia](https://github.com/Ovilia)) + [Feature] [pie]: Support specifying coordinate system for pie series. [#17132](https://github.com/apache/echarts/issues/17132) ([plainheart](https://github.com/plainheart)) -+ [Feature] [gauge]: Support angle rotating in axisLabel. Close [#15944](https://github.com/apache/echarts/issues/15944). [#16985](https://github.com/apache/echarts/issues/16985) ([MeetzhDing](https://github.com/MeetzhDing)) ++ [Feature] [gauge]: Support angle rotating in `axisLabel`. Close [#15944](https://github.com/apache/echarts/issues/15944). [#16985](https://github.com/apache/echarts/issues/16985) ([MeetzhDing](https://github.com/MeetzhDing)) + [Feature] [lines] Support the effect animation go back. [#16943](https://github.com/apache/echarts/issues/16943) ([wangguisong](https://github.com/wangguisong)) + [Feature] [treemap.breadcrumb]: Add `emphasis` state. [#17242](https://github.com/apache/echarts/issues/17242) ([susiwen8](https://github.com/susiwen8)) + [Feature] [i18n]: Add Ukrainian translation. Close [#17243](https://github.com/apache/echarts/issues/17243). [#17244](https://github.com/apache/echarts/issues/17244) ([Amice13](https://github.com/Amice13)) diff --git a/zh/changelog.md b/zh/changelog.md index 46c1f0a0..bb1ab59b 100644 --- a/zh/changelog.md +++ b/zh/changelog.md @@ -3,7 +3,7 @@ + [Feature] 扩大可点击元素的响应范围。[#17102](https://github.com/apache/echarts/issues/17102) ([Ovilia](https://github.com/Ovilia)) + [Feature] [pie]: 支持让饼图定位在某个坐标系上。[#17132](https://github.com/apache/echarts/issues/17132) ([plainheart](https://github.com/plainheart)) -+ [Feature] [gauge]: 支持了 axisLabel 的旋转。关闭 [#15944](https://github.com/apache/echarts/issues/15944)。[#16985](https://github.com/apache/echarts/issues/16985) ([MeetzhDing](https://github.com/MeetzhDing)) ++ [Feature] [gauge]: 支持了 `axisLabel` 的旋转。关闭 [#15944](https://github.com/apache/echarts/issues/15944)。[#16985](https://github.com/apache/echarts/issues/16985) ([MeetzhDing](https://github.com/MeetzhDing)) + [Feature] [lines] 支持动画原路返回。[#16943](https://github.com/apache/echarts/issues/16943) ([wangguisong](https://github.com/wangguisong)) + [Feature] [treemap.breadcrumb]: 支持了 `emphasis` 状态。[#17242](https://github.com/apache/echarts/issues/17242) ([susiwen8](https://github.com/susiwen8)) + [Feature] [i18n]: 支持了乌克兰语。关闭 [#17243](https://github.com/apache/echarts/issues/17243)。[#17244](https://github.com/apache/echarts/issues/17244) ([Amice13](https://github.com/Amice13)) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-doc] branch master updated: release: add changelog of 5.4.0
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-doc.git The following commit(s) were added to refs/heads/master by this push: new f6254fb6 release: add changelog of 5.4.0 f6254fb6 is described below commit f6254fb69c37330fec38154096258a5c75d43757 Author: 100pah AuthorDate: Sun Sep 25 23:33:01 2022 +0800 release: add changelog of 5.4.0 --- en/changelog.md | 33 + zh/changelog.md | 33 + 2 files changed, 66 insertions(+) diff --git a/en/changelog.md b/en/changelog.md index b83a02b3..9ccfd027 100644 --- a/en/changelog.md +++ b/en/changelog.md @@ -1,3 +1,36 @@ +## v5.4.0 +2022-09-25 + ++ [Feature] Coarse pointer tolerance. [#17102](https://github.com/apache/echarts/issues/17102) ([Ovilia](https://github.com/Ovilia)) ++ [Feature] [pie]: Support specifying coordinate system for pie series. [#17132](https://github.com/apache/echarts/issues/17132) ([plainheart](https://github.com/plainheart)) ++ [Feature] [gauge]: Support angle rotating in axisLabel. Close [#15944](https://github.com/apache/echarts/issues/15944). [#16985](https://github.com/apache/echarts/issues/16985) ([MeetzhDing](https://github.com/MeetzhDing)) ++ [Feature] [lines] Support the effect animation go back. [#16943](https://github.com/apache/echarts/issues/16943) ([wangguisong](https://github.com/wangguisong)) ++ [Feature] [treemap.breadcrumb]: Add `emphasis` state. [#17242](https://github.com/apache/echarts/issues/17242) ([susiwen8](https://github.com/susiwen8)) ++ [Feature] [i18n]: Add Ukrainian translation. Close [#17243](https://github.com/apache/echarts/issues/17243). [#17244](https://github.com/apache/echarts/issues/17244) ([Amice13](https://github.com/Amice13)) ++ [Fix] [pie]: Fix that `labelLine` may not be hidden when `minShowLabelRadian` is specified. [#17412](https://github.com/apache/echarts/issues/17412) ([plainheart](https://github.com/plainheart)) ++ [Fix] [pie(perf)]: Optimize performance of pie series. [#17275](https://github.com/apache/echarts/issues/17275) ([wind108369](https://github.com/wind108369)) ++ [Fix] [line]: Set default z/zlevel for temporary symbol to avoid warnings. [#17247](https://github.com/apache/echarts/issues/17247) ([plainheart](https://github.com/plainheart)) ++ [Fix] [bar-race]: Fix lines glitch with sub-pixel optimization in animations. Solve [#14679](https://github.com/apache/echarts/issues/14679). [#17426](https://github.com/apache/echarts/issues/17426) ([Ovilia](https://github.com/Ovilia)) ++ [Fix] [axis]: Fix that `inverse` option does not work for `singleAxis`. [#17411](https://github.com/apache/echarts/issues/17411) ([wind108369](https://github.com/wind108369)) ++ [Fix] [axis]: Fix that axis symbol is not reversed when axis is reversed. [#17329](https://github.com/apache/echarts/issues/17329) ([plainheart](https://github.com/plainheart)) ++ [Fix] [emphasis.scale]: Fix that `emphasis.scale` can't be reset and specified values may not be respected. [#17442](https://github.com/apache/echarts/issues/17442) ([plainheart](https://github.com/plainheart)) ++ [Fix] [emphasis.scale]: add missing type `number` to `emphasis.scale` for scatter/line/graph series [#17390](https://github.com/apache/echarts/issues/17390) ([plainheart](https://github.com/plainheart)) ++ [Fix]: Ensure compatibility with typescript@4.8 [#17582](https://github.com/apache/echarts/issues/17582) ([AviVahl](https://github.com/AviVahl)) ++ [Fix] [svg]: Encode HTML special characters when generating SVG string. [#17406](https://github.com/apache/echarts/issues/17406) ([plainheart](https://github.com/plainheart)) ++ [Fix] [visualMap]: Fix that the indicator doesn't show when hovering on map label. [#17346](https://github.com/apache/echarts/issues/17346) ([plainheart](https://github.com/plainheart)) ++ [Fix] [custom]: Fix that elements may not be removed after updates. Close [#17333](https://github.com/apache/echarts/issues/17333) [#17349](https://github.com/apache/echarts/issues/17349). ([Ovilia](https://github.com/Ovilia)) ++ [Fix] [custom]: Fix that custom elements probably can't be removed due to NPE when applying leave transition. [#17308](https://github.com/apache/echarts/issues/17308) ([plainheart](https://github.com/plainheart)) ++ [Fix] [theme]: Fix tooltips text style of the theme macarons [#17551](https://github.com/apache/echarts/issues/17551) ([mousne](https://github.com/mousne)) ++ [Fix] [theme]: Fix the abandoned normal level in the theme file [#17482](https://github.com/apache/echarts/issues/17482) ([Liangism](https://github.com/Liangism)) ++ [Fix] [log]: Fix that log axis breaks a single data whose log value is negative. [#17322](https://github.com/apache/echarts/issues/17322) ([Ovilia](https://github.com/Ovilia)) ++ [Fix] [dataZoom]: Fix sliderZoom in candlestick dataset error
[echarts] tag 5.4.0 created (now 6347c2c3e)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to tag 5.4.0 in repository https://gitbox.apache.org/repos/asf/echarts.git at 6347c2c3e (commit) No new revisions were added by this update. - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
svn commit: r56975 - in /release/echarts/5.4.0: ./ RELEASE_NOTE.txt apache-echarts-5.4.0-src.zip apache-echarts-5.4.0-src.zip.asc apache-echarts-5.4.0-src.zip.sha512
Author: sushuang Date: Sun Sep 25 13:45:55 2022 New Revision: 56975 Log: release Added: release/echarts/5.4.0/ release/echarts/5.4.0/RELEASE_NOTE.txt release/echarts/5.4.0/apache-echarts-5.4.0-src.zip (with props) release/echarts/5.4.0/apache-echarts-5.4.0-src.zip.asc release/echarts/5.4.0/apache-echarts-5.4.0-src.zip.sha512 Added: release/echarts/5.4.0/RELEASE_NOTE.txt == --- release/echarts/5.4.0/RELEASE_NOTE.txt (added) +++ release/echarts/5.4.0/RELEASE_NOTE.txt Sun Sep 25 13:45:55 2022 @@ -0,0 +1,30 @@ +## 5.4.0 + ++ [Feature] Coarse pointer tolerance. [#17102](https://github.com/apache/echarts/issues/17102) ([Ovilia](https://github.com/Ovilia)) ++ [Feature] [pie]: Support specifying coordinate system for pie series. [#17132](https://github.com/apache/echarts/issues/17132) ([plainheart](https://github.com/plainheart)) ++ [Feature] [gauge]: Support angle rotating in axisLabel. Close [#15944](https://github.com/apache/echarts/issues/15944). [#16985](https://github.com/apache/echarts/issues/16985) ([MeetzhDing](https://github.com/MeetzhDing)) ++ [Feature] [treemap.breadcrumb]: Add `emphasis` state. [#17242](https://github.com/apache/echarts/issues/17242) ([susiwen8](https://github.com/susiwen8)) ++ [Feature] [bar-race]: Provide subPixelOptimize option to solve [#14679](https://github.com/apache/echarts/issues/14679). [#17426](https://github.com/apache/echarts/issues/17426) ([Ovilia](https://github.com/Ovilia)) ++ [Feature] [i18n]: Add Ukrainian translation. Close [#17243](https://github.com/apache/echarts/issues/17243). [#17244](https://github.com/apache/echarts/issues/17244) ([Amice13](https://github.com/Amice13)) ++ [Fix] [pie]: Fix that `labelLine` may not be hidden when `minShowLabelRadian` is specified. [#17412](https://github.com/apache/echarts/issues/17412) ([plainheart](https://github.com/plainheart)) ++ [Fix] [pie(perf)]: Optimize performance of pie series. [#17275](https://github.com/apache/echarts/issues/17275) ([wind108369](https://github.com/wind108369)) ++ [Fix] [line]: Set default z/zlevel for temporary symbol to avoid warnings. [#17247](https://github.com/apache/echarts/issues/17247) ([plainheart](https://github.com/plainheart)) ++ [Fix] [axis]: Fix that `inverse` option does not work for `singleAxis`. [#17411](https://github.com/apache/echarts/issues/17411) ([wind108369](https://github.com/wind108369)) ++ [Fix] [axis]: Fix that axis symbol is not reversed when axis is reversed. [#17329](https://github.com/apache/echarts/issues/17329) ([plainheart](https://github.com/plainheart)) ++ [Fix] [emphasis.scale]: Fix that `emphasis.scale` can't be reset and specified values may not be respected. [#17442](https://github.com/apache/echarts/issues/17442) ([plainheart](https://github.com/plainheart)) ++ [Fix] [emphasis.scale]: add missing type `number` to `emphasis.scale` for scatter/line/graph series [#17390](https://github.com/apache/echarts/issues/17390) ([plainheart](https://github.com/plainheart)) ++ [Fix]: Ensure compatibility with typescript@4.8 [#17582](https://github.com/apache/echarts/issues/17582) ([AviVahl](https://github.com/AviVahl)) ++ [Fix] [svg]: Encode HTML special characters when generating SVG string. [#17406](https://github.com/apache/echarts/issues/17406) ([plainheart](https://github.com/plainheart)) ++ [Fix] [visualMap]: Fix that the indicator doesn't show when hovering on map label. [#17346](https://github.com/apache/echarts/issues/17346) ([plainheart](https://github.com/plainheart)) ++ [Fix] [custom]: Fix that elements may not be removed after updates. Close [#17333](https://github.com/apache/echarts/issues/17333) [#17349](https://github.com/apache/echarts/issues/17349). ([Ovilia](https://github.com/Ovilia)) ++ [Fix] [custom]: Fix that custom elements probably can't be removed due to NPE when applying leave transition. [#17308](https://github.com/apache/echarts/issues/17308) ([plainheart](https://github.com/plainheart)) ++ [Fix] [theme]: Fix tooltips text style of the theme macarons [#17551](https://github.com/apache/echarts/issues/17551) ([mousne](https://github.com/mousne)) ++ [Fix] [theme]: Fix the abandoned normal level in the theme file [#17482](https://github.com/apache/echarts/issues/17482) ([Liangism](https://github.com/Liangism)) ++ [Fix] [log]: Fix that log axis breaks a single data whose log value is negative. [#17322](https://github.com/apache/echarts/issues/17322) ([Ovilia](https://github.com/Ovilia)) ++ fix: sliderZoom in candlestick dataset error [#17237](https://github.com/apache/echarts/issues/17237) ([jiawulin001](https://github.com/jiawulin001)) ++ [Fix] [log]: Fix the wrong code of `deprecateReplaceLog` in `sunburstAction.ts`. [#17587](https://github.com/apache/echarts/issues/17587) ([gitforhlp](https://github.com/gitforhlp)) ++ [Fix] [ts]: fix `SunburstSeriesOption` and `TreemapSeriesOption` types
[echarts-doc] branch master updated: feature: add roundTrip (go back) to the lines animation effect.
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-doc.git The following commit(s) were added to refs/heads/master by this push: new 6d80fd24 feature: add roundTrip (go back) to the lines animation effect. 6d80fd24 is described below commit 6d80fd246245a99f9767e2d3a28e8b69b0fe1160 Author: 100pah AuthorDate: Sun Sep 25 21:35:26 2022 +0800 feature: add roundTrip (go back) to the lines animation effect. --- en/option/series/lines.md | 4 zh/option/series/lines.md | 4 2 files changed, 8 insertions(+) diff --git a/en/option/series/lines.md b/en/option/series/lines.md index d4bf90ca..2c3ceb3d 100644 --- a/en/option/series/lines.md +++ b/en/option/series/lines.md @@ -84,6 +84,10 @@ The length of trail of special effect. The values from 0 to 1 could be set. Tra Whether to loop the special effect animation. +### roundTrip(boolean) = false + +Whether to go back when the animation reach the end. + ## large(boolean) = true Whether to enable the optimization of large-scale lines graph. It could be enabled when there is a particularly large number of data(>=5k) . diff --git a/zh/option/series/lines.md b/zh/option/series/lines.md index 39f45531..4af5c8a2 100644 --- a/zh/option/series/lines.md +++ b/zh/option/series/lines.md @@ -83,6 +83,10 @@ ECharts 2.x 里会用地图上的 `markLine` 去绘制迁徙效果,在 ECharts 是否循环显示特效。 +### roundTrip(boolean) = false + +当动画到达终点时,是否原路返回。 + ## large(boolean) = false 是否启用大规模路径图的优化,在数据图形特别多的时候(>=5k)可以开启。 - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
svn commit: r56806 - in /dev/echarts/5.4.0-rc.1: ./ RELEASE_NOTE.txt apache-echarts-5.4.0-rc.1-src.zip apache-echarts-5.4.0-rc.1-src.zip.asc apache-echarts-5.4.0-rc.1-src.zip.sha512
Author: sushuang Date: Tue Sep 13 17:52:39 2022 New Revision: 56806 Log: prerelease Added: dev/echarts/5.4.0-rc.1/ dev/echarts/5.4.0-rc.1/RELEASE_NOTE.txt dev/echarts/5.4.0-rc.1/apache-echarts-5.4.0-rc.1-src.zip (with props) dev/echarts/5.4.0-rc.1/apache-echarts-5.4.0-rc.1-src.zip.asc dev/echarts/5.4.0-rc.1/apache-echarts-5.4.0-rc.1-src.zip.sha512 Added: dev/echarts/5.4.0-rc.1/RELEASE_NOTE.txt == --- dev/echarts/5.4.0-rc.1/RELEASE_NOTE.txt (added) +++ dev/echarts/5.4.0-rc.1/RELEASE_NOTE.txt Tue Sep 13 17:52:39 2022 @@ -0,0 +1,30 @@ +## 5.4.0 + ++ [Feature] Coarse pointer tolerance. [#17102](https://github.com/apache/echarts/issues/17102) ([Ovilia](https://github.com/Ovilia)) ++ [Feature] [pie]: Support specifying coordinate system for pie series. [#17132](https://github.com/apache/echarts/issues/17132) ([plainheart](https://github.com/plainheart)) ++ [Feature] [gauge]: Support angle rotating in axisLabel. Close [#15944](https://github.com/apache/echarts/issues/15944). [#16985](https://github.com/apache/echarts/issues/16985) ([MeetzhDing](https://github.com/MeetzhDing)) ++ [Feature] [treemap.breadcrumb]: Add `emphasis` state. [#17242](https://github.com/apache/echarts/issues/17242) ([susiwen8](https://github.com/susiwen8)) ++ [Feature] [bar-race]: Provide subPixelOptimize option to solve [#14679](https://github.com/apache/echarts/issues/14679). [#17426](https://github.com/apache/echarts/issues/17426) ([Ovilia](https://github.com/Ovilia)) ++ [Feature] [i18n]: Add Ukrainian translation. Close [#17243](https://github.com/apache/echarts/issues/17243). [#17244](https://github.com/apache/echarts/issues/17244) ([Amice13](https://github.com/Amice13)) ++ [Fix] [pie]: Fix that `labelLine` may not be hidden when `minShowLabelRadian` is specified. [#17412](https://github.com/apache/echarts/issues/17412) ([plainheart](https://github.com/plainheart)) ++ [Fix] [pie(perf)]: Optimize performance of pie series. [#17275](https://github.com/apache/echarts/issues/17275) ([wind108369](https://github.com/wind108369)) ++ [Fix] [line]: Set default z/zlevel for temporary symbol to avoid warnings. [#17247](https://github.com/apache/echarts/issues/17247) ([plainheart](https://github.com/plainheart)) ++ [Fix] [axis]: Fix that `inverse` option does not work for `singleAxis`. [#17411](https://github.com/apache/echarts/issues/17411) ([wind108369](https://github.com/wind108369)) ++ [Fix] [axis]: Fix that axis symbol is not reversed when axis is reversed. [#17329](https://github.com/apache/echarts/issues/17329) ([plainheart](https://github.com/plainheart)) ++ [Fix] [emphasis.scale]: Fix that `emphasis.scale` can't be reset and specified values may not be respected. [#17442](https://github.com/apache/echarts/issues/17442) ([plainheart](https://github.com/plainheart)) ++ [Fix] [emphasis.scale]: add missing type `number` to `emphasis.scale` for scatter/line/graph series [#17390](https://github.com/apache/echarts/issues/17390) ([plainheart](https://github.com/plainheart)) ++ [Fix]: Ensure compatibility with typescript@4.8 [#17582](https://github.com/apache/echarts/issues/17582) ([AviVahl](https://github.com/AviVahl)) ++ [Fix] [svg]: Encode HTML special characters when generating SVG string. [#17406](https://github.com/apache/echarts/issues/17406) ([plainheart](https://github.com/plainheart)) ++ [Fix] [visualMap]: Fix that the indicator doesn't show when hovering on map label. [#17346](https://github.com/apache/echarts/issues/17346) ([plainheart](https://github.com/plainheart)) ++ [Fix] [custom]: Fix that elements may not be removed after updates. Close [#17333](https://github.com/apache/echarts/issues/17333) [#17349](https://github.com/apache/echarts/issues/17349). ([Ovilia](https://github.com/Ovilia)) ++ [Fix] [custom]: Fix that custom elements probably can't be removed due to NPE when applying leave transition. [#17308](https://github.com/apache/echarts/issues/17308) ([plainheart](https://github.com/plainheart)) ++ [Fix] [theme]: Fix tooltips text style of the theme macarons [#17551](https://github.com/apache/echarts/issues/17551) ([mousne](https://github.com/mousne)) ++ [Fix] [theme]: Fix the abandoned normal level in the theme file [#17482](https://github.com/apache/echarts/issues/17482) ([Liangism](https://github.com/Liangism)) ++ [Fix] [log]: Fix that log axis breaks a single data whose log value is negative. [#17322](https://github.com/apache/echarts/issues/17322) ([Ovilia](https://github.com/Ovilia)) ++ fix: sliderZoom in candlestick dataset error [#17237](https://github.com/apache/echarts/issues/17237) ([jiawulin001](https://github.com/jiawulin001)) ++ [Fix] [log]: Fix the wrong code of `deprecateReplaceLog` in `sunburstAction.ts`. [#17587](https://github.com/apache/echarts/issues/17587) ([gitforhlp](https://github.com/gitforhlp)) ++ [Fix] [ts]: fix `SunburstSeriesOption
[echarts] tag 5.4.0-rc.1 created (now 6347c2c3e)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to tag 5.4.0-rc.1 in repository https://gitbox.apache.org/repos/asf/echarts.git at 6347c2c3e (commit) No new revisions were added by this update. - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] tag 5.4.0 created (now 6347c2c3e)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to tag 5.4.0 in repository https://gitbox.apache.org/repos/asf/echarts.git at 6347c2c3e (commit) No new revisions were added by this update. - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch release updated (4d218b10c -> 6347c2c3e)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git from 4d218b10c Merge pull request #17614 from apache/master add 6037f16af chore: fix test case. add 2e71525c4 fix: upgrade typescript-eslint to enable ts check with the currently used ts version. add 1acad3895 release: 5.4.0 new 6347c2c3e Merge pull request #17645 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: dist/echarts.common.js | 1207 --- dist/echarts.common.js.map |2 +- dist/echarts.common.min.js |4 +- dist/echarts.esm.js | 1557 +- dist/echarts.esm.js.map |2 +- dist/echarts.esm.min.js |4 +- dist/echarts.js | 1557 +- dist/echarts.js.map |2 +- dist/echarts.min.js |4 +- dist/echarts.simple.js | 1164 -- dist/echarts.simple.js.map |2 +- dist/echarts.simple.min.js |4 +- dist/extension/bmap.js | 14 +- dist/extension/bmap.js.map |2 +- src/i18n/langUA.ts => i18n/langUA-obj.js | 65 +- src/i18n/langUA.ts => i18n/langUA.js | 61 +- package-lock.json| 728 +- package.json |8 +- src/core/echarts.ts |4 +- test/dataView.html |6 +- 20 files changed, 3459 insertions(+), 2938 deletions(-) copy src/i18n/langUA.ts => i18n/langUA-obj.js (76%) copy src/i18n/langUA.ts => i18n/langUA.js (77%) - 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 #17645 from apache/release-dev
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git commit 6347c2c3e9707ae34d004d72ede087e9eb23359d Merge: 4d218b10c 1acad3895 Author: sushuang AuthorDate: Tue Sep 13 18:26:39 2022 +0800 Merge pull request #17645 from apache/release-dev Release 5.4.0 dist/echarts.common.js | 1207 ++ dist/echarts.common.js.map |2 +- dist/echarts.common.min.js |4 +- dist/echarts.esm.js| 1557 +--- dist/echarts.esm.js.map|2 +- dist/echarts.esm.min.js|4 +- dist/echarts.js| 1557 +--- dist/echarts.js.map|2 +- dist/echarts.min.js|4 +- dist/echarts.simple.js | 1164 ++--- dist/echarts.simple.js.map |2 +- dist/echarts.simple.min.js |4 +- dist/extension/bmap.js | 14 +- dist/extension/bmap.js.map |2 +- i18n/langUA-obj.js | 174 + i18n/langUA.js | 170 + package-lock.json | 728 +++-- package.json |8 +- src/core/echarts.ts|4 +- test/dataView.html |6 +- 20 files changed, 3711 insertions(+), 2904 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch release-dev created (now 1acad3895)
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 at 1acad3895 release: 5.4.0 No new revisions were added by this update. - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-examples] 04/04: fix: tweak readme and add some build commands into package.json.
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 a5f0dd47e73bdcb6fc3e1d95163df9730317e41c Author: 100pah AuthorDate: Tue Sep 13 02:31:26 2022 +0800 fix: tweak readme and add some build commands into package.json. --- .gitignore | 3 ++- README.md| 13 + package.json | 2 +- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 158ffaee..15d78737 100644 --- a/.gitignore +++ b/.gitignore @@ -20,4 +20,5 @@ public/vendors/echarts/map/raw /e2e/node_modules tmp -.webm \ No newline at end of file +.webm +result.log diff --git a/README.md b/README.md index 7d84a7ee..1af09024 100644 --- a/README.md +++ b/README.md @@ -150,9 +150,9 @@ Note: the commands below will execute `npm install` in these local directories. ```shell # run e2e using local dependent repos and webpack. -npm run test:e2e:local +npm run test:e2e:local > result.log 2>&1 # run e2e using local dependent repos and esbuild, which is much faster. -npm run test:e2e:esbuild:local +npm run test:e2e:esbuild:local > result.log 2>&1 ``` ### Run e2e test using remote dependent repos @@ -161,11 +161,16 @@ Note: the commands below will download the repos listed in `echarts-examples/e2e ```shell # run e2e using remote dependent repos and webpack. -npm run test:e2e +npm run test:e2e > result.log 2>&1 # run e2e using remote dependent repos and esbuild, which is much faster. -npm run test:e2e:esbuild +npm run test:e2e:esbuild > result.log 2>&1 ``` +### Check the test result +The test result is in: ++ the `result.log` ++ `echarts-examples/e2e/report.html`, the file should be opened in your own local http server. + ### Run partial tests. > Note: This can only be used when you run the whole e2e test at least once. diff --git a/package.json b/package.json index f58ae57d..3aee8af4 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "release": "npm run compile:example && npm run build && node build/copyResource.js --env asf", "dev": "npx concurrently --kill-others \"npm:watch\" \"npm:server\"", "build:example": "npm run compile:example && node tool/build-example.js && node tool/build-example.js --gl", -"build:examplelist": "npm run compile:example && node tool/build-example.js --no-thumb", +"build:examplelist": "npm run compile:example && node tool/build-example.js --no-thumb && node tool/build-example.js --no-thumb --gl", "compile:example": "node tool/compile-example.js", "test:e2e": "node e2e/main.js --bundler webpack -m", "test:e2e:local": "node e2e/main.js --bundler webpack -m --local", - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-examples] 01/04: fix: fix ts type.
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 621ce6c20414f2b28cf6d374f9c25a0bf728c643 Author: 100pah AuthorDate: Sat Sep 10 16:56:43 2022 +0800 fix: fix ts type. --- public/examples/ts/mix-line-bar.ts | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/public/examples/ts/mix-line-bar.ts b/public/examples/ts/mix-line-bar.ts index 423c33fa..9bb8f3dc 100644 --- a/public/examples/ts/mix-line-bar.ts +++ b/public/examples/ts/mix-line-bar.ts @@ -62,8 +62,8 @@ option = { name: 'Evaporation', type: 'bar', tooltip: { -valueFormatter: function (value: number) { - return value + ' ml'; +valueFormatter: function (value) { + return value as number + ' ml'; } }, data: [ @@ -74,8 +74,8 @@ option = { name: 'Precipitation', type: 'bar', tooltip: { -valueFormatter: function (value: number) { - return value + ' ml'; +valueFormatter: function (value) { + return value as number + ' ml'; } }, data: [ @@ -87,8 +87,8 @@ option = { type: 'line', yAxisIndex: 1, tooltip: { -valueFormatter: function (value: number) { - return value + ' °C'; +valueFormatter: function (value) { + return value as number + ' °C'; } }, data: [2.0, 2.2, 3.3, 4.5, 6.3, 10.2, 20.3, 23.4, 23.0, 16.5, 12.0, 6.2] - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-examples] 02/04: fix: make the build guide clear in README.md
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 bda4d6aa756e35d53afa35cb35e09eea01e19569 Author: 100pah AuthorDate: Tue Sep 13 01:45:08 2022 +0800 fix: make the build guide clear in README.md --- README.md | 139 -- 1 file changed, 80 insertions(+), 59 deletions(-) diff --git a/README.md b/README.md index d2c73149..7d84a7ee 100644 --- a/README.md +++ b/README.md @@ -6,26 +6,10 @@ npm install ``` -## Dev -```shell -npm run dev -``` - -## Release - -```shell -npm run release -``` +## Edit examples -It will copy all the build resources to echarts-website/next/examples - -## Use local echarts build - -1. Update the URL of localEChartsMinJS in `common/config.js` -2. Add `local=1` in URL. For example: `editor.html?c=area-basic=1` - -## Edit example +### How All test cases are in the `public/examples/ts` folder. The comment in the header @@ -58,9 +42,9 @@ Most of examples are written in `TypeScript`. You need to comile it to `JavaScri npm run compile:example ``` -## Some built-in features available in examples +### Some built-in features available in examples -### Import third-party library + Import third-party library For example: @@ -75,37 +59,37 @@ $.when( }); ``` -### Controller panel + Controller panel Use this code to enable controller panel for a example: ```js app.config = { -aNameForTheSelectWidget: 'This is the initial value' -aNameForTheRangeWidget: 45, -aNameForTheButtonWidget: function () { -// Do something. -}, -onChange: function () { -// Do something. -} + aNameForTheSelectWidget: 'This is the initial value' + aNameForTheRangeWidget: 45, + aNameForTheButtonWidget: function () { +// Do something. + }, + onChange: function () { +// Do something. + } }; app.configParameters = { -aNameForTheSelectWidget: { -options: [ -'This is the initial value', -'This is another value', -'This is the third value' -] -}, -aNameForTheRangeWidget: { -min: -90, -max: 90 -} + aNameForTheSelectWidget: { +options: [ + 'This is the initial value', + 'This is another value', + 'This is the third value' +] + }, + aNameForTheRangeWidget: { +min: -90, +max: 90 + } }; ``` -### Resize + Resize ```js app.onresize = function () { @@ -113,57 +97,76 @@ app.onresize = function () { }; ``` -### Get width and height of the chart area + Get width and height of the chart area ```js var width = myChart.getWidth(); var height = myChart.getHeight(); ``` -## Update example snapshots -```shell -npm run build:example -``` +## View and edit echarts-examples website -Only for default theme +### Dev and view examples in website ```shell -node tool/build-example.js -t default +npm run dev ``` +### Use local echarts build + +1. Update the URL of `localEChartsDir` & `localEChartsGLJS` in `src/common/config.js` +2. Add `local=1` in URL. For example: + + `editor.html?c=area-basic=1` + + ## Run e2e tests. Run all the examples to test package publishing and install, module importing, minimal bundling and DTS correctness. -Before run the tests. you need to update the examples. +Before run the tests. you need to update the examples list. ```shell -npm run build:example +npm run build:examplelist ``` -Then run the tests. +If puppeteer has not been installed: +```shell +npm i puppeteer +``` +If you want to save the log: ```shell -npm run test:e2e +exe_something > 1.log 2>&1 ``` -You can change the testing branch or local dir, which is available when add `--local` in `e2e/config.js` +### Run e2e test using local dependent repos -If you want to test with esbuild bundler. Which is much faster. +If you are testing a new version of echarts or zrender, which are not released in github yet, you need run e2e test with local dependent repos. + +Firstly, make sure the dependent repos listed in `dir` attributes in `echarts-examples/e2e/config.js` existing and having release built. + +Note: the commands below will execute `npm install` in these local directories. ```shell -npm run test:e2e:esbuild +# run e2e using local dependent repos and webpack. +npm run test:e2e:local +# run e2e using local dependent repos and esbuild, which is much faster. +npm run test:e2e:esbuild:local ``` -If you want use the packages in your local folder which is still in developing. Please update the `dir` path in `test/config.js` for all packages first. Then run the script directly with `--local` arg. +### Run e2e test using remote dependent repos + +Note: the commands below will download the repos listed in `echarts-examples/e2e/config.js` to a temporary folder. ```shell -no
[echarts-examples] branch gh-pages updated (16b6c9de -> a5f0dd47)
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 16b6c9de chore: add .asf.yaml new 621ce6c2 fix: fix ts type. new bda4d6aa fix: make the build guide clear in README.md new b5cfaaee fix: (1). add back the e2e/package.json, otherwise the dependent packages will be installed into echarts-examples/node_modules. And make some process to prevent it from committing modifications. (2). Fix some dependency install (of zrender, which is the dependency of echarts and echarts-gl). new a5f0dd47 fix: tweak readme and add some build commands into package.json. The 4 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 | 5 +- README.md | 144 ++--- e2e/main.js| 98 ++--- e2e/package.tpl.json | 12 package.json | 2 +- public/examples/ts/mix-line-bar.ts | 12 ++-- 6 files changed, 179 insertions(+), 94 deletions(-) create mode 100644 e2e/package.tpl.json - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-examples] 03/04: fix: (1). add back the e2e/package.json, otherwise the dependent packages will be installed into echarts-examples/node_modules. And make some process to prevent it from commi
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 b5cfaaeee9aaac4a3c03f02ebe87009300258067 Author: 100pah AuthorDate: Tue Sep 13 01:49:01 2022 +0800 fix: (1). add back the e2e/package.json, otherwise the dependent packages will be installed into echarts-examples/node_modules. And make some process to prevent it from committing modifications. (2). Fix some dependency install (of zrender, which is the dependency of echarts and echarts-gl). --- .gitignore | 2 ++ e2e/main.js | 98 +--- e2e/package.tpl.json | 12 +++ 3 files changed, 85 insertions(+), 27 deletions(-) diff --git a/.gitignore b/.gitignore index 5e01c252..158ffaee 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,8 @@ public/vendors/echarts/map/raw /public/data-gl/option /public/examples/js /e2e/package-lock.json +/e2e/package.json +/e2e/node_modules tmp .webm \ No newline at end of file diff --git a/e2e/main.js b/e2e/main.js index 2d114367..cb8de9a5 100644 --- a/e2e/main.js +++ b/e2e/main.js @@ -129,6 +129,10 @@ async function prepare() { fse.removeSync(REPO_DIR); fse.removeSync(PACKAGE_DIR); + fse.removeSync(nodePath.join(__dirname, 'package.json')); + fse.removeSync(nodePath.join(__dirname, 'package-lock.json')); + fse.copySync(nodePath.join(__dirname, 'package.tpl.json'), nodePath.join(__dirname, 'package.json')); + fse.ensureDirSync(TMP_DIR); fse.ensureDirSync(RUN_CODE_DIR); fse.ensureDirSync(BUNDLE_DIR); @@ -175,45 +179,82 @@ async function installPackages(config) { shell.cd(pkg.dir); -const packageJson = JSON.parse( - fs.readFileSync(nodePath.join(pkg.dir, 'package.json')) -); +const packageJsonPath = nodePath.join(pkg.dir, 'package.json'); +const packageJsonRaw = fs.readFileSync(packageJsonPath, {encoding: 'utf-8'}); +const packageJson = JSON.parse(packageJsonRaw); const tgzFileName = `${packageJson.name}-${packageJson.version}.tgz`; const targetTgzFilePath = nodePath.join(PACKAGE_DIR, tgzFileName); +let needModifyPackageJSON = false; + +function doesConfigIncludesDepPkg(depPkgName) { + return !!config.packages.find((a) => a.name === depPkgName) +} if (packageJson.dependencies) { for (let depPkgName in packageJson.dependencies) { -const depPkg = config.packages.find((a) => a.name === depPkgName); -if (depPkg && !publishedPackages[depPkgName]) { - publishPackage(depPkg); - // Come back. - shell.cd(pkg.dir); +if (!doesConfigIncludesDepPkg(depPkgName) || publishedPackages[depPkgName]) { + continue; } +publishPackage(depPkg); +// Come back. +shell.cd(pkg.dir); + } -shell.exec(`npm install`); + if (shell.exec(`npm install`).code !== 0) { +console.error(`shell fail: npm install in ${pkg.dir}`); +process.exit(1); + } -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.`)); + for (let depPkgName in packageJson.dependencies) { +if (!doesConfigIncludesDepPkg(depPkgName)) { + continue; } +console.log( + chalk.gray( +`Installing dependency ${depPkgName} from "${publishedPackages[depPkgName].targetTgzFilePath}" ...` + ) +); +if (shell.exec(`npm install ${publishedPackages[depPkgName].targetTgzFilePath}`).code !== 0) { + console.error(`shell fail: npm install ${publishedPackages[depPkgName].targetTgzFilePath}`); + process.exit(1); +} +// After the npm install above, the package.json will be modifiedt to like: +// "dependencies": ["zredner": "file:../echarts-examples/e2e/tmp/packages/zrender-5.3.2.tgz"] +// which is a relative path and not correct if the tgz is copied to another place in +// the latter process. +// If we use --no-save, the latter npm install by tgz may not use the version of zrender that +// config.js specified. +// So we modifiy the version mandatorily to the version that config.js specified. +// In the latter npm install by tgz, the zrender will be installed firstly. And when echarts +// is installing, it found the right version of zrender has been installed, and do not install +// zrender separately. +needModifyPackageJSON = true; +packageJson.dependencies[depPkgName] = publishedPackag
[echarts] branch release updated (b9f330b15 -> 4d218b10c)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git from b9f330b15 Merge pull request #17582 from AviVahl/fix-ts4.8-compatibility add 3c1afa916 change the `deprecateReplaceLog` in sunburstAction.ts add d1462ff42 fix the deprecateReplaceLog about downplay add b96b04ea2 Merge pull request #17587 from gitforhlp/master add 5b465297f fix a typo error in `log.ts` add 7f3b2ba4d Merge pull request #17598 from ChepteaCatalin/master add 059ff6115 chore(type): export type ElementEvent add 768ce8398 rm newline add 74cd6ad84 Merge pull request #15291 from Map1en/export-type-elementevent new 4d218b10c Merge pull request #17614 from apache/master 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/chart/sunburst/sunburstAction.ts | 6 +++--- src/export/core.ts | 1 + src/util/log.ts | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) - 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 #17614 from apache/master
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git commit 4d218b10c8df6b91c1eb2f9ec4eb3ac6785fe6a5 Merge: b9f330b15 74cd6ad84 Author: sushuang AuthorDate: Mon Sep 5 10:38:11 2022 +0800 Merge pull request #17614 from apache/master Add #15291 #17598 #17587 #17551 to release for 5.4.0 src/chart/sunburst/sunburstAction.ts | 6 +++--- src/export/core.ts | 1 + src/util/log.ts | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch release updated (86eba716f -> 3e068d7a4)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git from 86eba716f Merge pull request #17190 from apache/release-dev add 032e73835 fix(typo): Trasition -> Transition add 1047e897b Merge pull request #17193 from kxxoling/fix-typo add 905b32405 chore: update pr template to improve doc control add 5d813ddcc Merge pull request #17201 from apache/fix-pr add 11a9247e7 Merge pull request #17213 from apache/release add 821b24ad6 fix:improve interface SunburstSeriesOption and TreemapSeriesOption add 18c333706 Merge pull request #17218 from dmzc/5.3.2 add ae66fe6de feat(i18n): add Ukrainian translation. close #17243 add f4e786429 Merge pull request #17244 from Amice13/fix-17243 add aeca584e7 chore: fix publish ci on fork add f950face5 chore: check owner on specific workflows add 0f9f16c7f Merge pull request #17245 from apache/fix-publish-ci-on-fork add 6212121e9 fix(line): set default z/zlevel for temporary symbol to avoid warnings. add 26fbb7565 Merge pull request #17247 from apache/fix/tmp-symbol-z add bafb0f9a8 feat(treemap.breadcrumb): add `emphasis` state (#17242) add 731362be0 chore(workflow): close stale issues as not planned rather than completed. [ci skip] add 89d57f21b Merge pull request #17304 from apache/stale-close-reason add 70b10e198 fix(custom): fix potential NPE when applying leave transition. add 64a86ba3e Merge pull request #17308 from apache/fix-custom add 8951f4199 chore: upgrade stale action to v5 add 2d7d59c0a Merge pull request #17317 from apache/fix-stale-bot add 11f488c07 fix(axis): fix axis symbol is not reverted when axis is reverse. add 2f13981a7 Merge pull request #17329 from apache/fix/axis-line-symbol add 131774302 fix(visualMap): fix the indicator doesn't show when hovering on map label. add 71bdec63c chore: fix some typos add 2f29323e1 fix(visualMap): fix wrong type of ecData. add add11459e Merge pull request #17346 from apache/fix/visualMap-label-indicator add 1822053ea fix(type): add missing type `number` to `emphasis.scale` of scatter/line/graph series. add 6e3efd8fb style: fix typo of `RoamPayload`. add 65d867e2e Merge pull request #17390 from apache/fix/symbol-scale-types add a214eda00 单轴反向失效问题修复 add 8cdcc7daf Merge pull request #17411 from wind108369/bugfix-single-inverse add 28baad87b chore(deps-dev): bump terser from 5.3.8 to 5.14.2 add 178ec6fbd Merge pull request #17407 from apache/dependabot/npm_and_yarn/terser-5.14.2 add d08a58f35 style: spelling mistakes add c7a8547ba style: spelling mistakes add 6a261fb79 style: spelling mistakes add 800fccaae Merge pull request #17383 from ZXYT/style-spelling-mistakes add d5ee24d75 fix(pie): fix `labelLine` may not be hidden when `minShowLabelRadian` is specified, resolves #17013. add 67afcbd2c Merge pull request #17412 from apache/fix-pie-labelLine add 749b64e94 fix(bar-race): provide subPixelOptimize option to solve #14679 add 52d89e7c8 test(bar-race): update test add 5470effe5 feat(axis): set subPixelOptimize to be false during animation add 979654c46 fix(axis): remove unnecessary files add 466d08f41 fix(axis): when update for the first time, make sure done is called add 1a1575494 fix(subpixel): set animation with subpixel optimization add bc4ee6c95 fix(custom): fix elements may not be removed after updates #17333 add 22c821823 fix(custom): apply leave transition and add more comments add ee3b8357c test(custom): add a test case with {} that should preserve child add fc43e0ac1 test(custom): add a test case add 44e650e3b fix(custom): fix the case for element after the null child add 8fc48c727 fix(custom): ignore element when renderItem returns a group with null elements add 09e0c801a test(custom): update test case for custom update add d9d00b89b Merge branch 'master' into fix-17333 add c58437740 Merge pull request #17349 from apache/fix-17333 add c76c297e6 fix(symbol): fix `emphasis.scale` can't be reset and specified value may not be respect. add bffad00b2 test(symbol): add test case for `emphasis.scale` add 4ed662984 test(vrt): fix changing value of select via js doesn't trigger `change` event. add 8294147a8 fix(symbol): remove unused import. add 8e4b5f075 Merge pull request #17442 from apache/fix/symbol-emphasis-scale add 715e1daee fix(custom): set ignore only if old child exists (#17450) add 59e180ec0 chore: fix wrong imports from `echarts.all` add e3c8e3cea chore: fix wrong imports from `echarts.all` add 074aa815e Merge pull request #17452 from apache/fix-import add 3a6c0979b 优化饼图性能 add 77ee2a1cc test(pie): tweak pie-percent case - add time
[echarts] 01/01: Merge pull request #17570 from apache/master
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git commit 3e068d7a47f0158efdf98a60606b8f72ac6174e4 Merge: 86eba716f db866d8e7 Author: sushuang AuthorDate: Thu Aug 25 14:35:06 2022 +0800 Merge pull request #17570 from apache/master Create release for 5.4 .github/pull_request_template.md | 15 +- .github/workflows/nightly-next.yml | 1 + .github/workflows/nightly.yml | 1 + .github/workflows/source-release.yml | 1 + .github/workflows/stale.yml| 4 +- extension-src/bmap/BMapCoordSys.ts | 14 + package-lock.json | 790 +++-- package.json | 4 +- src/action/roamHelper.ts | 4 +- .../{basicTrasition.ts => basicTransition.ts} | 0 src/animation/customGraphicKeyframeAnimation.ts| 6 +- src/animation/customGraphicTransition.ts | 2 +- src/animation/morphTransitionHelper.ts | 2 +- src/animation/universalTransition.ts | 2 +- src/chart/bar/BarView.ts | 3 +- src/chart/boxplot/BoxplotView.ts | 2 +- src/chart/candlestick/CandlestickView.ts | 9 +- src/chart/custom/CustomView.ts | 77 +- src/chart/funnel/FunnelView.ts | 2 +- src/chart/gauge/GaugeSeries.ts | 8 +- src/chart/gauge/GaugeView.ts | 62 +- src/chart/graph/GraphSeries.ts | 4 +- src/chart/graph/GraphView.ts | 71 +- src/chart/graph/circularLayoutHelper.ts| 69 +- src/chart/graph/install.ts | 4 +- src/chart/helper/EffectLine.ts | 26 +- src/chart/helper/EffectPolyline.ts | 8 +- src/chart/helper/LargeLineDraw.ts | 3 +- src/chart/helper/LargeSymbolDraw.ts| 1 + src/chart/helper/LineDraw.ts | 1 + src/chart/helper/Symbol.ts | 22 +- src/chart/line/LineSeries.ts | 2 +- src/chart/line/LineView.ts | 4 +- src/chart/parallel/ParallelView.ts | 2 +- src/chart/pie/PieSeries.ts | 28 +- src/chart/pie/PieView.ts | 2 +- src/chart/pie/labelLayout.ts | 3 +- src/chart/pie/pieLayout.ts | 17 +- src/chart/radar/RadarView.ts | 2 +- src/chart/scatter/ScatterSeries.ts | 4 +- src/chart/sunburst/SunburstPiece.ts| 2 +- src/chart/sunburst/SunburstSeries.ts | 4 +- src/chart/themeRiver/ThemeRiverView.ts | 2 +- src/chart/tree/treeAction.ts | 6 +- src/chart/treemap/Breadcrumb.ts| 27 +- src/chart/treemap/TreemapSeries.ts | 13 +- src/component/axis/AxisBuilder.ts | 12 +- src/component/axis/CartesianAxisView.ts| 15 +- src/component/axis/SingleAxisView.ts | 15 +- src/component/dataZoom/SliderZoomView.ts | 3 +- src/component/geo/install.ts | 6 +- src/component/graphic/GraphicView.ts | 2 +- src/component/helper/MapDraw.ts| 4 +- src/component/helper/RoamController.ts | 13 +- src/component/marker/MarkAreaView.ts | 10 +- src/component/marker/MarkLineView.ts | 10 +- src/component/marker/MarkPointView.ts | 2 +- src/component/marker/markerHelper.ts | 4 +- src/component/visualMap/ContinuousView.ts | 20 +- src/coord/geo/geoCreator.ts| 9 +- src/coord/single/Single.ts | 2 +- src/coord/single/SingleAxis.ts | 2 - src/core/echarts.ts| 12 +- src/data/DataStore.ts | 2 +- src/data/Graph.ts | 8 +- src/data/Tree.ts | 18 +- src/i18n/langUA.ts | 143 src/model/Global.ts| 6 +- src/scale/Interval.ts | 3 +- src/scale/Log.ts | 7 +- src/util/format.ts | 20 +- src/util/graphic.ts| 14 +- src/util/number.ts | 23 +- src/visual/VisualMapping.ts| 6 +- test/axis-arrow.html | 70 +- test/
[echarts] branch master updated (f2e8379c7 -> 3c27102b0)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git from f2e8379c7 Merge pull request #17426 from apache/fix-subpixel add 23ae97b9f feat(graph): simple layout graph support dragging add 78b247521 test(graph): add simple graph draggable test case add 1d962f663 feat(graph): update circular layout helper function add ae38c73f1 feat(graph): support draggable for all graph layout ('none' | 'circular' | 'force') add ebae26494 test(graph): add graph draggable test case add 8144dcc0b Revert "test(graph): add simple graph draggable test case" add 5f8f0c6d4 fix(graph): node el check for circular layout add db01e5128 fix(graph): remove GraphNode `_fixed` field add 2b1595dba fix(graph): use zrender/vector calculate node layout add 789181583 Merge remote-tracking branch 'upstream/next' into feat-simple-graph-draggable add 472e72b6f fix: not trigger roam on el's child add 657f37917 fix: fix code add aeb66aa7c fix: remove useless code add 45a1ebd5c fix: store fixed state in layout object add 155364a6b fix: use mouse position calculate circular layout add ff68ceda0 Merge pull request #15428 from kongmoumou/feat-simple-graph-draggable add 5dd49b4d9 Merge pull request #16683 from apache/master add 38bcddc40 Merge branch 'master' into merge-master-to-next add a7ff84ae7 Merge pull request #16944 from apache/merge-master-to-next add 4493fceec Merge pull request #16945 from apache/master add dd950c78a feat(LineDraw):series-lines support the effect animation go back add 0478f51cd rename the option from goback to roundTrip add 0fa933dfc Merge pull request #16943 from wangguisong/feat-goback add 6de533a26 feat: ignore target size for large charts add 02beb9a9b feat: make target size an option add 4b2bd9c16 feat: rename test file add c11463a85 feat: rename variables add 343b13a49 test: add coarse-pointer in test env add c1c9faf26 fix(coarse-pointer): use retrieve add acb54f829 feat(coarse-pointer): fix test add 5c3025d4a feat(coarse-pointer): fix test add 3f1ecf9e9 Merge pull request #17403 from apache/master add 690ad3df0 refactor(util): import `encodeHTML` function from `zrender`. add 7d7150b28 chore: update zrender to the latest nightly version. add b73b3e504 Merge pull request #17406 from apache/fix-import add 71ba23e5b chore: merge next add d0b204597 fix: merge conflict add d897fa2e5 Merge pull request #17102 from apache/feat-coarse-pointer add 99335dacf Merge branch 'next' add 3c27102b0 Merge pull request #17538 from apache/master-tmp No new revisions were added by this update. Summary of changes: package-lock.json| 15 +- package.json | 2 +- src/chart/bar/BarView.ts | 1 + src/chart/candlestick/CandlestickView.ts | 7 +- src/chart/graph/GraphView.ts | 71 +++-- src/chart/graph/circularLayoutHelper.ts | 69 - src/chart/helper/EffectLine.ts | 26 +- src/chart/helper/EffectPolyline.ts | 8 +- src/chart/helper/LargeLineDraw.ts| 3 +- src/chart/helper/LargeSymbolDraw.ts | 1 + src/chart/helper/LineDraw.ts | 1 + src/component/helper/RoamController.ts | 13 +- src/core/echarts.ts | 12 +- src/util/format.ts | 20 +- test/coarse-pointer.html | 164 test/graph-draggable.html| 441 +++ test/lib/caseFrame.js| 11 + test/lib/config.js | 15 ++ test/lib/testHelper.js | 7 +- test/runTest/actions/__meta__.json | 1 + test/runTest/actions/coarse-pointer.json | 1 + test/runTest/cli.js | 7 +- test/runTest/client/client.css | 10 +- test/runTest/client/client.js| 6 + test/runTest/client/index.html | 153 ++- test/runTest/server.js | 4 + test/runTest/store.js| 9 +- 27 files changed, 904 insertions(+), 174 deletions(-) create mode 100644 test/coarse-pointer.html create mode 100644 test/graph-draggable.html create mode 100644 test/runTest/actions/coarse-pointer.json - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch master-tmp created (now 99335dacf)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch master-tmp in repository https://gitbox.apache.org/repos/asf/echarts.git at 99335dacf Merge branch 'next' No new revisions were added by this update. - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch master updated: fix:improve PictorialBarSeriesOption
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git The following commit(s) were added to refs/heads/master by this push: new ed259699d fix:improve PictorialBarSeriesOption new 4c167a3a4 Merge pull request #17155 from dmzc/fix-pictorialbar-dts ed259699d is described below commit ed259699d4196ff9889e06c25efc5fce066e0be4 Author: zhangchuangm AuthorDate: Sat Jun 4 12:40:22 2022 +0800 fix:improve PictorialBarSeriesOption --- src/chart/bar/PictorialBarSeries.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/chart/bar/PictorialBarSeries.ts b/src/chart/bar/PictorialBarSeries.ts index 9ee0517ff..d799057d9 100644 --- a/src/chart/bar/PictorialBarSeries.ts +++ b/src/chart/bar/PictorialBarSeries.ts @@ -26,7 +26,8 @@ import { SeriesStackOptionMixin, StatesOptionMixin, OptionDataItemObject, -DefaultEmphasisFocus +DefaultEmphasisFocus, +SeriesEncodeOptionMixin } from '../../util/types'; import type Cartesian2D from '../../coord/cartesian/Cartesian2D'; import { inheritDefaultOption } from '../../util/component'; @@ -111,7 +112,7 @@ export interface PictorialBarDataItemOption extends PictorialBarSeriesSymbolOpti export interface PictorialBarSeriesOption extends BaseBarSeriesOption, PictorialBarStateOption, PictorialBarSeriesSymbolOption, -SeriesStackOptionMixin { +SeriesStackOptionMixin, SeriesEncodeOptionMixin { type?: 'pictorialBar' - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch next updated (08d010a -> ff68ced)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch next in repository https://gitbox.apache.org/repos/asf/echarts.git. from 08d010a Merge pull request #16321 from apache/fix-dataview new 23ae97b feat(graph): simple layout graph support dragging new 78b2475 test(graph): add simple graph draggable test case new 1d962f6 feat(graph): update circular layout helper function new ae38c73 feat(graph): support draggable for all graph layout ('none' | 'circular' | 'force') new ebae264 test(graph): add graph draggable test case new 8144dcc Revert "test(graph): add simple graph draggable test case" new 5f8f0c6 fix(graph): node el check for circular layout new db01e51 fix(graph): remove GraphNode `_fixed` field new 2b1595d fix(graph): use zrender/vector calculate node layout new 7891815 Merge remote-tracking branch 'upstream/next' into feat-simple-graph-draggable new 472e72b fix: not trigger roam on el's child new 657f379 fix: fix code new aeb66aa fix: remove useless code new 45a1ebd fix: store fixed state in layout object new 155364a fix: use mouse position calculate circular layout new ff68ced Merge pull request #15428 from kongmoumou/feat-simple-graph-draggable The 8393 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: src/chart/graph/GraphView.ts| 73 +++--- src/chart/graph/circularLayoutHelper.ts | 69 - src/component/helper/RoamController.ts | 13 +- test/graph-draggable.html | 441 4 files changed, 549 insertions(+), 47 deletions(-) create mode 100644 test/graph-draggable.html - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] tag 5.3.0 created (now 0878d30)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to tag 5.3.0 in repository https://gitbox.apache.org/repos/asf/echarts.git. at 0878d30 (commit) No new revisions were added by this update. - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
svn commit: r52286 - in /release/echarts/5.3.0: ./ apache-echarts-5.3.0-src.zip apache-echarts-5.3.0-src.zip.asc apache-echarts-5.3.0-src.zip.sha512
Author: sushuang Date: Wed Jan 26 17:42:12 2022 New Revision: 52286 Log: release Added: release/echarts/5.3.0/ release/echarts/5.3.0/apache-echarts-5.3.0-src.zip (with props) release/echarts/5.3.0/apache-echarts-5.3.0-src.zip.asc release/echarts/5.3.0/apache-echarts-5.3.0-src.zip.sha512 Added: release/echarts/5.3.0/apache-echarts-5.3.0-src.zip == Binary file - no diff available. Propchange: release/echarts/5.3.0/apache-echarts-5.3.0-src.zip -- svn:mime-type = application/octet-stream Added: release/echarts/5.3.0/apache-echarts-5.3.0-src.zip.asc == --- release/echarts/5.3.0/apache-echarts-5.3.0-src.zip.asc (added) +++ release/echarts/5.3.0/apache-echarts-5.3.0-src.zip.asc Wed Jan 26 17:42:12 2022 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCgAdFiEEmwbZtPo3xN1ScldCdHmF1+POtjUFAmHtBnsACgkQdHmF1+PO +tjUIoQ/+M/atIRKoSe3vjCAvdaVOD/kwJ7jkh+pQ+51TCjYim0YMkPaFivr+BgF5 +901jA8eyzdFzpErsuvIXayRMGMPD9vbgYJfTYrl5rcfBq4efuC1ijSCutzw0zPgb +Q0pyoAaEwjPU+eObZKkGtNHEBrFB85DT8f3Nm6kfaog5iq9ZmpIV2XOrNxn5ogyV +KdcWJfdaYXQSjqNDXllHeN5Vx1GK4eJP95YDD5GJuOGkVA7HtW7AVoTN3inA6tuP +7dlBFd2oqsn1SFI9cLrXNK0aSIil1kwFsduFDOlpRVNFmjZnXZJ2mhozdiAa/OQq +SYoe8gu33Z9gUQxVe88KuP8xF4ZWlVsuu+9y/VvKu9m+/Q6GHHK1vt7/pjs4XWFF +D9dUli7A+hnDhWWAbxUjvVTHMjfmz/TqhlXoqQ33/U/XLPez0SW7aMbVAmAKJDWP +gI8McyewQaq9sz3iuDPE15FBDp5aWHIucMf58iPUVUOBDrVplR/a2AKadYP1bdEv +5+VlisL1vE380EJUUSRvKTokJh38Tyhn1nICSoY9Ymayi0A8euyxzhENo62E0l9/ +CrqP0n/08zd3/k4qcZvmMmewjghYXRBwD1Z5Zs1PvfUf/fZKqDvKnhsXF+EEUI8t +YJWBZo2Ql9PvgklFeA4VKwRkNzDcK5CvmDSD5210eRH+n9vWeTI= +=u3pG +-END PGP SIGNATURE- Added: release/echarts/5.3.0/apache-echarts-5.3.0-src.zip.sha512 == --- release/echarts/5.3.0/apache-echarts-5.3.0-src.zip.sha512 (added) +++ release/echarts/5.3.0/apache-echarts-5.3.0-src.zip.sha512 Wed Jan 26 17:42:12 2022 @@ -0,0 +1 @@ +a4dc9f230f912860ecd3b4c109ca1171d847d77d5a9cf98ba36ea00e4994b28105036e6350d19141a5027a9e32d557b5e4af3722397828e1f73b91bd0722b1f8 apache-echarts-5.3.0-rc.1-src.zip - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
svn commit: r52231 - in /dev/echarts/5.3.0-rc.1: ./ RELEASE_NOTE.txt apache-echarts-5.3.0-rc.1-src.zip apache-echarts-5.3.0-rc.1-src.zip.asc apache-echarts-5.3.0-rc.1-src.zip.sha512
Author: sushuang Date: Sun Jan 23 07:45:38 2022 New Revision: 52231 Log: prerelease Added: dev/echarts/5.3.0-rc.1/ dev/echarts/5.3.0-rc.1/RELEASE_NOTE.txt dev/echarts/5.3.0-rc.1/apache-echarts-5.3.0-rc.1-src.zip (with props) dev/echarts/5.3.0-rc.1/apache-echarts-5.3.0-rc.1-src.zip.asc dev/echarts/5.3.0-rc.1/apache-echarts-5.3.0-rc.1-src.zip.sha512 Added: dev/echarts/5.3.0-rc.1/RELEASE_NOTE.txt == --- dev/echarts/5.3.0-rc.1/RELEASE_NOTE.txt (added) +++ dev/echarts/5.3.0-rc.1/RELEASE_NOTE.txt Sun Jan 23 07:45:38 2022 @@ -0,0 +1,44 @@ +## 5.3.0 + ++ [Feature] Introduce new keyframe based animation to graphic component and custom series. [#16225](https://github.com/apache/echarts/issues/16225) ([pissang](https://github.com/pissang)) ++ [Feature] Support transition animation in the graphic component. [#16225](https://github.com/apache/echarts/issues/16225) ([pissang](https://github.com/pissang)) ++ [Feature] [svg] Refactor SVG renderer. Improved SVG rendering performance by 2x ~ 10x. [#836](https://github.com/ecomfe/zrender/pull/836) ([pissang](https://github.com/pissang)) ++ [Feature] [svg] Add SVG server-side rendering with zero dependencies. [#15880](https://github.com/apache/echarts/issues/15880) ([pissang](https://github.com/pissang)) ++ [Feature] [axis] Add `alignTicks` for mutliple axis alignment. [#16300](https://github.com/apache/echarts/issues/16300) ([pissang](https://github.com/pissang)) ++ [Feature] [state] Add `select.disabled` to disable select state. [#15534](https://github.com/apache/echarts/issues/15534) ([susiwen8](https://github.com/susiwen8)) ++ [Feature] [state] Add `selectedMode: 'series'` to selected the whole series. [#15534](https://github.com/apache/echarts/issues/15534) ([susiwen8](https://github.com/susiwen8)) ++ [Feature] [state] Add `emphasis.disabled` to disable emphasis state. [#16368](https://github.com/apache/echarts/issues/16368) ([pissang](https://github.com/pissang)) ++ [Feature] [map] Introduce projection to map series and geo component. [#16364](https://github.com/apache/echarts/issues/16364) ([pissang](https://github.com/pissang)) ++ [Feature] [geo] Support `LineString` and `MultiLineString` in GeoJSON source. [#16364](https://github.com/apache/echarts/issues/16364) ([pissang](https://github.com/pissang)) ++ [Feature] [tooltip] Add `valueFormatter` in the tooltip. [#16332](https://github.com/apache/echarts/issues/16332) ([pissang](https://github.com/pissang)) ++ [Feature] [pie] [sunburst] Supports configuring radius on the four corners of sector. [#16298](https://github.com/apache/echarts/issues/16298) ([plainheart](https://github.com/plainheart)) ++ [Feature] [i18n] Add Italian translation. [#16211](https://github.com/apache/echarts/issues/16211) ([andrearoota](https://github.com/andrearoota)) ++ [Feature] [i18n] Add Romanian translation. [#15990](https://github.com/apache/echarts/issues/15990) ([szilard-dobai](https://github.com/szilard-dobai)) ++ [Fix] [graph] Fix error when symbol is none. [#16394](https://github.com/apache/echarts/issues/16394) ([pissang](https://github.com/pissang)) ++ [Fix] [dataset] Fix `sourceHeader: false` may not work. [#16376](https://github.com/apache/echarts/issues/16376) ([lefex](https://github.com/lefex)) ++ [Fix] [tooltip] Fix the page will be frozen if multiple tooltips are provided. [#16347](https://github.com/apache/echarts/issues/16347) ([plainheart](https://github.com/plainheart)) ++ [Fix] [bar] Optimizing bar layout in the large mode. Fix stacked bar when large is enabled. [#16338](https://github.com/apache/echarts/issues/16338) ([pissang](https://github.com/pissang)) ++ [Fix] [bar] Fix stacked bar on the log axis. [#16338](https://github.com/apache/echarts/issues/16338) ([pissang](https://github.com/pissang)) ++ [Fix] [pie] Optimize label layout and text wrapping [#16034](https://github.com/apache/echarts/issues/16034) ([Ovilia](https://github.com/Ovilia)) ++ [Fix] [polar] Fix edge symbols are clipped unexpectedly for the tiny offset. [#16329](https://github.com/apache/echarts/issues/16329) ([plainheart](https://github.com/plainheart)) ++ [Fix] [map] Fix some labels won't be shown when legend is enabled and no label formatter specified. [#16322](https://github.com/apache/echarts/issues/16322) ([plainheart](https://github.com/plainheart)) ++ [Fix] [pie] Fix tangential rotation with startAngle. [#16307](https://github.com/apache/echarts/issues/16307) ([Ovilia](https://github.com/Ovilia)) ++ [Fix] [graph] Support using `dataType` param to highlight edge by `dispatchAction`. [#16243](https://github.com/apache/echarts/issues/16243) ([Dingzhaocheng](https://github.com/Dingzhaocheng)) ++ [Fix] [pie] Fix label of first sector may not shown. [#16229](https://github.com/apache/echarts/issues/16229) ([116050423](https://github.com/116050423)) ++ [Fix] [tooltip] Fix tooltip lagging when
[echarts] tag 5.3.0-rc.1 created (now 0878d30)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to tag 5.3.0-rc.1 in repository https://gitbox.apache.org/repos/asf/echarts.git. at 0878d30 (commit) No new revisions were added by this update. - 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 #16414 from apache/release-dev
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git commit 0878d303ee5d798b808d3bab1444c5ec3e7e60d6 Merge: 29c46cd 25f6b38 Author: sushuang AuthorDate: Sun Jan 23 15:20:00 2022 +0800 Merge pull request #16414 from apache/release-dev release 5.3.0 dist/echarts.common.js | 11808 +++ dist/echarts.common.js.map | 2 +- dist/echarts.common.min.js | 4 +- dist/echarts.esm.js| 30066 --- dist/echarts.esm.js.map| 2 +- dist/echarts.esm.min.js| 4 +- dist/echarts.js| 30065 +++--- dist/echarts.js.map| 2 +- dist/echarts.min.js| 4 +- dist/echarts.simple.js | 7792 +- dist/echarts.simple.js.map | 2 +- dist/echarts.simple.min.js | 4 +- dist/extension/bmap.js.map | 2 +- dist/extension/dataTool.js |36 + dist/extension/dataTool.js.map | 2 +- i18n/langIT-obj.js | 173 + i18n/langIT.js | 169 + i18n/langRO-obj.js | 173 + i18n/langRO.js | 169 + package-lock.json | 8 +- package.json | 4 +- src/coord/axisAlignTicks.ts|19 + src/core/echarts.ts| 4 +- 23 files changed, 41263 insertions(+), 39251 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch release updated (29c46cd -> 0878d30)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git. from 29c46cd Merge pull request #16413 from apache/fix-gl-break add 25f6b38 release 5.3.0 new 0878d30 Merge pull request #16414 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: dist/echarts.common.js | 11808 +-- dist/echarts.common.js.map | 2 +- dist/echarts.common.min.js | 4 +- dist/echarts.esm.js | 30066 +++-- dist/echarts.esm.js.map | 2 +- dist/echarts.esm.min.js | 4 +- dist/echarts.js | 30065 ++-- dist/echarts.js.map | 2 +- dist/echarts.min.js | 4 +- dist/echarts.simple.js | 7792 dist/echarts.simple.js.map | 2 +- dist/echarts.simple.min.js | 4 +- dist/extension/bmap.js.map | 2 +- dist/extension/dataTool.js |36 + dist/extension/dataTool.js.map | 2 +- src/i18n/langIT.ts => i18n/langIT-obj.js |33 +- src/i18n/langIT.ts => i18n/langIT.js |29 +- src/i18n/langRO.ts => i18n/langRO-obj.js |33 +- src/i18n/langRO.ts => i18n/langRO.js |29 +- package-lock.json| 8 +- package.json | 4 +- src/coord/axisAlignTicks.ts |19 + src/core/echarts.ts | 4 +- 23 files changed, 40699 insertions(+), 39255 deletions(-) copy src/i18n/langIT.ts => i18n/langIT-obj.js (87%) copy src/i18n/langIT.ts => i18n/langIT.js (88%) copy src/i18n/langRO.ts => i18n/langRO-obj.js (87%) copy src/i18n/langRO.ts => i18n/langRO.js (88%) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch release-dev updated (4f980f6 -> 25f6b38)
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 4f980f6 release 5.2.2 add 812dac2 Feat(line): click event on whole line add 9226bab Merge pull request #15535 from susiwen8/line-click add d534395 Merge pull request #15662 from apache/master add 4d55a6a Merge pull request #15727 from apache/master add 47f7741 Merge pull request #15746 from apache/release add 0292e76 revert(line): revert the default design "make line bolder in the empahsis state". add b5d315c Merge pull request #15767 from apache/revert-default-line-bolder add ead64f7 style: optimize symbol visual code add 703086e Merge pull request #15846 from apache/optimize-code add 27b2398 Revert "Feat(line): event on whole line" add 3484439 Merge pull request #15848 from apache/revert-15535-line-click add 3b191a1 fix(progressive): only update status on the new rendered elements add 36ecdd1 perf(progressive): optimize performance for chart with progressive add f76464c fix(large): fix event and tooltip on large symbol and lines add d594782 fix(progressive): use separate zlevel for each progressive series. add 6a91af3 fix: remove used default zlevel add 3cae99e fix(zlevel): optimize zlevel allocate for effect series add 9f6f32c fix ut in graphics component add 44e26a8 wip(ssr): integrate ssr svg output. upgrade ts add 116b245 fix(class): optimize native class mixed with legacy class extend. add f8a0090 wip(ssr): fix tooltip when no dom given in ssr mode add 3bd240c refact: remove code that for ancient browsers add dec7082 chore: add process env define in dev add 54ddfa2 wip(ssr): optimize pie animation in ssr add 332afce Merge branch 'next' into svg-ssr add d51777e chore: upgrade zrender to latest nightly version add 708da07 chore: optimize esbuild output add 01568b3 feat: provide new setPlatformAPI add 9e6fb8d feat: add renderToString. use reanderToCanvas to replace getRenderedCanvas add b14b885 feat(ssr): rename renderToString to renderToSVGString add 06d90a7 remove usage of deprecated getRenderedCanvas add e5c8c15 Merge pull request #15880 from apache/svg-ssr add 28d6cea Merge branch 'next' into optimize-progressive add 1a0492d Merge pull request #15870 from apache/optimize-progressive add 7e05fa5 fix: show tooltip when all val are null add e7daf0c Merge pull request #16001 from kongmoumou/fix-tooltip add 000ee7d Merge pull request #15951 from apache/release-dev add c2cdc02 Merge pull request #15982 from apache/release add 972079b fix(axis): only `value` has `scale` in cartesian add d465888 test(logAxis): add test case for log axis scale add 45ed358 fix(axis): remove `scale` option in `log`, `category` and `time` add f8e96ea chore: remove `scale` in `AxisBaseOptionCommon` add 7edf73c chore: remove useless import add a3b9496 Merge pull request #15998 from susiwen8/10174 add d6d1ff0 fix(type): ts error add dc75783 Merge pull request #16008 from susiwen8/scale-type add 73b66a6 feat(i18n): add Romanian translation add 6d68a7d Merge pull request #15990 from szilard-dobai/feature/romanian-translation add d999fd1 fix(line): fix bezier cp calculate wrong in monotone smooth add efc66bd Merge pull request #16069 from apache/fix-smooth-monotone add 15375ca fix(dataZoom): optimize dataZoom shadow render performance add b1eb944 fix(throttle): clear throttle add 2b61e57 Merge pull request #16070 from apache/optimize-dataZoom-shadow-performance add 46e268f fix: fitler -> filter typo add 790687d Merge pull request #16090 from vojty/fix-fitler-typo add 02eea12 Merge pull request #16104 from apache/master add 1916e1d chore(core): remove `ssr` limit for `renderToSVGString` add bdcc024 type(core): remove unnecessary `as any` add c709e42 chore: update zrender to latest nightly version. add 2a84ce6 chore: tweak the wording on the error message add 515c724 chore: revert package-lock.json. (c709e425dd5f9b724187fa02e9b6cc7e9bd634f5) add 69e6917 Update package-lock.json add 2115f55 Merge pull request #16113 from apache/ssr add e546f19 fix(tooltip): only throttle `updatePosition` function when transition is enabled, resolves #16101. add de2cdea fix(tooltip): simplify throttle logic. add f670da7 Merge pull request #16212 from apache/fix-tooltip-lag add 4c62b1e fix: use common helper `createFloat32Array` to simplify the large arrray creation. add 5dea867 Merge pull request #16210 from apache/simplify-large-arr-creation add 3d7bf24 refact(graphic): seperate view and model add 6199529 refact(
[echarts] branch release updated (145848d -> 29c46cd)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git. from 145848d Merge pull request #16411 from apache/fix-gl-break add 8a47394 fix(geo): fix getMap new 29c46cd Merge pull request #16413 from apache/fix-gl-break 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/component/geo/install.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) - 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 #16413 from apache/fix-gl-break
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git commit 29c46cda76d308df6f3e5ba757b2d97671d5bf99 Merge: 145848d 8a47394 Author: sushuang AuthorDate: Sun Jan 23 13:49:40 2022 +0800 Merge pull request #16413 from apache/fix-gl-break fix(geo): fix getMap src/component/geo/install.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) - 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 #16411 from apache/fix-gl-break
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git commit 145848d022050d74a3fdc267f9d6e5a1612d291f Merge: 8875afe 9805f47 Author: sushuang AuthorDate: Sun Jan 23 11:55:33 2022 +0800 Merge pull request #16411 from apache/fix-gl-break fix(geo): add back geoCoord module to avoid breaking echarts-gl src/coord/geo/fix/geoCoord.ts | 42 ++ 1 file changed, 42 insertions(+) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch release updated (8875afe -> 145848d)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git. from 8875afe Merge pull request #16410 from apache/fix-build-lib add 6c7e6fc fix(geo): add back geoCoord module to avoid break gl add 9805f47 add comments new 145848d Merge pull request #16411 from apache/fix-gl-break 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/coord/geo/fix/{textCoord.ts => geoCoord.ts} | 31 - 1 file changed, 15 insertions(+), 16 deletions(-) copy src/coord/geo/fix/{textCoord.ts => geoCoord.ts} (65%) - 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 #16410 from apache/fix-build-lib
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git commit 8875afeb28c8ae7aed64e91dcf621ab80683dc33 Merge: 8c23bb9 e21c185 Author: sushuang AuthorDate: Sun Jan 23 11:33:14 2022 +0800 Merge pull request #16410 from apache/fix-build-lib chore: not export declarations on the extension build build/pre-publish.js | 1 + 1 file changed, 1 insertion(+) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch release updated (8c23bb9 -> 8875afe)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git. from 8c23bb9 Merge pull request #16409 from apache/update-zrender add e21c185 chore: not export declarations on the extension build new 8875afe Merge pull request #16410 from apache/fix-build-lib The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: build/pre-publish.js | 1 + 1 file changed, 1 insertion(+) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch release updated (4cbf823 -> 8c23bb9)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git. from 4cbf823 Merge pull request #16405 from apache/fix-datazoom-shadow-not-update add 1f3fbf7 chore: update zrender version new 8c23bb9 Merge pull request #16409 from apache/update-zrender 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: package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) - 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 #16409 from apache/update-zrender
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git commit 8c23bb96c0c86d0a66cf87dc8d544953a5338467 Merge: 4cbf823 1f3fbf7 Author: sushuang AuthorDate: Sun Jan 23 11:23:11 2022 +0800 Merge pull request #16409 from apache/update-zrender chore: update zrender version package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) - 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 #16405 from apache/fix-datazoom-shadow-not-update
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git commit 4cbf8232f18ef4178d95c3004756ec7c6028e2cd Merge: e00d612 9822ee1 Author: sushuang AuthorDate: Fri Jan 21 21:32:36 2022 +0800 Merge pull request #16405 from apache/fix-datazoom-shadow-not-update fix(dataZoom): fix shadow may not update when size changed src/component/dataZoom/SliderZoomView.ts | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch release updated (e00d612 -> 4cbf823)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git. from e00d612 Merge pull request #16400 from apache/fix-interval-rounding add 9822ee1 fix(dataZoom): fix shadow may not update when size changed new 4cbf823 Merge pull request #16405 from apache/fix-datazoom-shadow-not-update 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/component/dataZoom/SliderZoomView.ts | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch next updated: fix: show tooltip when all val are null
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch next in repository https://gitbox.apache.org/repos/asf/echarts.git The following commit(s) were added to refs/heads/next by this push: new 7e05fa5 fix: show tooltip when all val are null new e7daf0c Merge pull request #16001 from kongmoumou/fix-tooltip 7e05fa5 is described below commit 7e05fa547fd758ce28f36efbbfe5bc6f80dfbf5f Author: kongmoumou AuthorDate: Wed Nov 3 12:39:47 2021 +0800 fix: show tooltip when all val are null fix #15757 --- src/chart/helper/createSeriesData.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/chart/helper/createSeriesData.ts b/src/chart/helper/createSeriesData.ts index 704eed4..4e1bfd7 100644 --- a/src/chart/helper/createSeriesData.ts +++ b/src/chart/helper/createSeriesData.ts @@ -183,8 +183,7 @@ function createSeriesData( function isNeedCompleteOrdinalData(source: Source) { if (source.sourceFormat === SOURCE_FORMAT_ORIGINAL) { const sampleItem = firstDataNotNull(source.data as ArrayLike || []); -return sampleItem != null -&& !zrUtil.isArray(getDataItemValue(sampleItem)); +return !zrUtil.isArray(getDataItemValue(sampleItem)); } } - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] 04/04: fix: (1) Fix the self-loop edge layout strategy in 'simple' layout. (2) Add test case `test/graph-self-loop.html`. (3) Remove some necessary code.
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch feat/HCLacids-NodeSelf-fix in repository https://gitbox.apache.org/repos/asf/echarts.git commit 0566c7b0d7ca8216adf0e197bf89f118d0a7d126 Author: sushuang AuthorDate: Fri Sep 24 02:31:05 2021 +0800 fix: (1) Fix the self-loop edge layout strategy in 'simple' layout. (2) Add test case `test/graph-self-loop.html`. (3) Remove some necessary code. --- src/chart/graph/GraphView.ts| 20 +- src/chart/graph/edgeVisual.ts | 24 -- src/chart/graph/graphHelper.ts | 6 + src/chart/graph/layoutHelper.ts | 262 ++ src/chart/graph/simpleLayoutHelper.ts | 88 + src/chart/helper/multipleGraphEdgeHelper.ts | 3 +- test/graph-self-loop.html | 355 +++ test/lib/enableGraphEditRoughly.js | 512 8 files changed, 1165 insertions(+), 105 deletions(-) diff --git a/src/chart/graph/GraphView.ts b/src/chart/graph/GraphView.ts index 1c8d10f..98b5e3b 100644 --- a/src/chart/graph/GraphView.ts +++ b/src/chart/graph/GraphView.ts @@ -36,6 +36,7 @@ import Symbol from '../helper/Symbol'; import List from '../../data/List'; import Line from '../helper/Line'; import { getECData } from '../../util/innerStore'; +import { layoutSelfLoopEdges } from './layoutHelper'; function isViewCoordSys(coordSys: CoordinateSystem): coordSys is View { return coordSys.type === 'view'; @@ -102,7 +103,7 @@ class GraphView extends ChartView { } } // Fix edge contact point with node -adjustEdge(seriesModel.getGraph(), getNodeGlobalScale(seriesModel)); +postLayoutEdges(seriesModel); const data = seriesModel.getData(); symbolDraw.updateData(data as ListForSymbolDraw); @@ -274,7 +275,7 @@ class GraphView extends ChartView { originY: e.originY }); this._updateNodeAndLinkScale(); -adjustEdge(seriesModel.getGraph(), getNodeGlobalScale(seriesModel)); +postLayoutEdges(seriesModel); this._lineDraw.updateLayout(); // Only update label layout on zoom api.updateLabelLayout(); @@ -293,7 +294,7 @@ class GraphView extends ChartView { } updateLayout(seriesModel: GraphSeriesModel) { -adjustEdge(seriesModel.getGraph(), getNodeGlobalScale(seriesModel)); +postLayoutEdges(seriesModel); this._symbolDraw.updateLayout(); this._lineDraw.updateLayout(); @@ -305,4 +306,17 @@ class GraphView extends ChartView { } } +function postLayoutEdges(seriesModel: GraphSeriesModel): void { +const graph = seriesModel.getGraph(); + +// PENDING: +// `scaleOnCoordSys` will be changed when zooming. +// At present the layout stage will not be called when zooming. So +// we put these process here. +const nodeScaleOnCoordSys = getNodeGlobalScale(seriesModel); + +layoutSelfLoopEdges(graph, nodeScaleOnCoordSys); +adjustEdge(graph, nodeScaleOnCoordSys); +} + export default GraphView; \ No newline at end of file diff --git a/src/chart/graph/edgeVisual.ts b/src/chart/graph/edgeVisual.ts index f0d0208..7107399 100644 --- a/src/chart/graph/edgeVisual.ts +++ b/src/chart/graph/edgeVisual.ts @@ -20,9 +20,6 @@ import GlobalModel from '../../model/Global'; import GraphSeriesModel, { GraphEdgeItemOption } from './GraphSeries'; import { extend } from 'zrender/src/core/util'; -import { intersectCurveCircle } from './adjustEdge' -import { getNodeGlobalScale, getSymbolSize } from './graphHelper'; -import { cubicDerivativeAt } from 'zrender/src/core/curve'; function normalize(a: string | string[]): string[]; function normalize(a: number | number[]): number[]; @@ -53,7 +50,6 @@ export default function graphEdgeVisual(ecModel: GlobalModel) { edgeData.each(function (idx) { const itemModel = edgeData.getItemModel(idx); const edge = graph.getEdgeByIndex(idx); -const toSymbol = edge.getVisual('toSymbol'); const symbolType = normalize(itemModel.getShallow('symbol', true)); const symbolSize = normalize(itemModel.getShallow('symbolSize', true)); // Edge visual must after node visual @@ -79,26 +75,6 @@ export default function graphEdgeVisual(ecModel: GlobalModel) { symbolType[1] && edge.setVisual('toSymbol', symbolType[1]); symbolSize[0] && edge.setVisual('fromSymbolSize', symbolSize[0]); symbolSize[1] && edge.setVisual('toSymbolSize', symbolSize[1]); - - -if (edge.node1 === edge.node2 && toSymbol && toSymbol !== 'none') { -const edgeData = edge.getLayout(); -const size = getSymbolSize(edge.node1); -const radius = ge
[echarts] 03/04: Merge branch 'NodeSelf' of https://github.com/HCLacids/echarts into HCLacids-NodeSelf
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch feat/HCLacids-NodeSelf-fix in repository https://gitbox.apache.org/repos/asf/echarts.git commit 6b6d6d45c41798103fb3f2926d5c2b66aeeb022b Merge: 52f292d eee6878 Author: sushuang AuthorDate: Wed Sep 15 19:59:43 2021 +0800 Merge branch 'NodeSelf' of https://github.com/HCLacids/echarts into HCLacids-NodeSelf src/chart/graph/circularLayoutHelper.ts | 14 +-- src/chart/graph/forceLayout.ts | 20 src/chart/graph/simpleLayoutHelper.ts | 18 +++ src/chart/helper/multipleGraphEdgeHelper.ts | 36 ++--- 4 files changed, 44 insertions(+), 44 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] 02/04: Merge branch 'NodeSelf' of https://github.com/HCLacids/echarts into HCLacids-NodeSelf
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch feat/HCLacids-NodeSelf-fix in repository https://gitbox.apache.org/repos/asf/echarts.git commit 52f292d74c55d81ad8d5886c9222d818daf197fb Merge: 4028577 9d44975 Author: sushuang AuthorDate: Tue Aug 24 21:43:45 2021 +0800 Merge branch 'NodeSelf' of https://github.com/HCLacids/echarts into HCLacids-NodeSelf package-lock.json | 10985 ++ src/chart/graph/adjustEdge.ts | 167 +- src/chart/graph/circularLayoutHelper.ts |74 +- src/chart/graph/edgeVisual.ts |24 + src/chart/graph/forceLayout.ts |74 +- src/chart/graph/simpleLayoutHelper.ts | 106 +- src/chart/helper/Line.ts| 5 +- src/chart/helper/LinePath.ts| 4 +- src/chart/helper/multipleGraphEdgeHelper.ts |50 +- test/force.html | 3 +- test/graph-circular.html| 4 + test/graph-multiple-edges.html | 2 +- 12 files changed, 11366 insertions(+), 132 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch feat/HCLacids-NodeSelf-fix created (now 0566c7b)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch feat/HCLacids-NodeSelf-fix in repository https://gitbox.apache.org/repos/asf/echarts.git. at 0566c7b fix: (1) Fix the self-loop edge layout strategy in 'simple' layout. (2) Add test case `test/graph-self-loop.html`. (3) Remove some necessary code. This branch includes the following new commits: new 4028577 Merge branch 'NodeSelf' of https://github.com/HCLacids/echarts into HCLacids-NodeSelf new 52f292d Merge branch 'NodeSelf' of https://github.com/HCLacids/echarts into HCLacids-NodeSelf new 6b6d6d4 Merge branch 'NodeSelf' of https://github.com/HCLacids/echarts into HCLacids-NodeSelf new 0566c7b fix: (1) Fix the self-loop edge layout strategy in 'simple' layout. (2) Add test case `test/graph-self-loop.html`. (3) Remove some necessary code. The 4 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
[echarts] 01/04: Merge branch 'NodeSelf' of https://github.com/HCLacids/echarts into HCLacids-NodeSelf
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch feat/HCLacids-NodeSelf-fix in repository https://gitbox.apache.org/repos/asf/echarts.git commit 4028577c1670637ffb0e37f0dc72a553a3b4f7f0 Merge: 997f839 60e8a01 Author: sushuang AuthorDate: Mon Aug 2 20:09:10 2021 +0800 Merge branch 'NodeSelf' of https://github.com/HCLacids/echarts into HCLacids-NodeSelf package-lock.json | 10985 -- src/chart/graph/adjustEdge.ts | 246 +- src/chart/graph/circularLayoutHelper.ts |13 +- src/chart/graph/forceLayout.ts | 9 +- src/chart/graph/simpleLayoutHelper.ts |19 +- src/chart/helper/Line.ts| 8 + src/chart/helper/LinePath.ts| 2 + test/force.html | 4 +- test/graph-multiple-edges.html | 2 +- test/graph-simple.html | 8 + 10 files changed, 227 insertions(+), 11069 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch master updated (233d2a1 -> 6641951)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git. from 233d2a1 Merge pull request #15715 from apache/fix-test add eb6af35 fix(tooltip): tooltip(especially in connected chart) may be lagged and shake from side to side in Chrome(with the devtools open) and Firefox. see #14695. add d072593 Merge branch 'master' of https://github.com/apache/echarts into fix-tooltip add 2b46ae9 fix(test): use simpleRequire for tooltip-lag-glitch.html. add f4590f1 fix(test): fix typos in tooltip-lag-glitch.html. new 6641951 Merge pull request #15683 from apache/fix-tooltip 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/component/tooltip/TooltipView.ts | 16 +++- test/{line-large.html => tooltip-lag-glitch.html} | 96 --- 2 files changed, 67 insertions(+), 45 deletions(-) copy test/{line-large.html => tooltip-lag-glitch.html} (50%) - 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 #15683 from apache/fix-tooltip
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git commit 6641951e1bd1bb7beb18a695caaa39a5fda0e885 Merge: 233d2a1 f4590f1 Author: sushuang AuthorDate: Wed Sep 15 01:31:43 2021 +0800 Merge pull request #15683 from apache/fix-tooltip fix(tooltip): tooltip may be lagged and shake in Chrome(with the devtools open) and Firefox. src/component/tooltip/TooltipView.ts | 16 - test/tooltip-lag-glitch.html | 121 +++ 2 files changed, 136 insertions(+), 1 deletion(-) - 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 #15686 from apache/fix/dataset-perf
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git commit babc67d49afbb36927d9053a54a5132da663d07f Merge: eb42349 ef1d850 Author: sushuang AuthorDate: Tue Sep 7 20:30:09 2021 +0800 Merge pull request #15686 from apache/fix/dataset-perf fix: Fix MarkLine/MarkPoint/MarkArea do not work on time axis if input string time format src/component/marker/MarkAreaView.ts | 42 ++--- src/component/marker/MarkLineView.ts | 9 +-- src/component/marker/MarkPointView.ts | 12 ++-- src/component/marker/markerHelper.ts | 35 +++ test/marker-case.html | 111 ++ 5 files changed, 165 insertions(+), 44 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch master updated (eb42349 -> babc67d)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git. from eb42349 Merge pull request #15669 from apache/fix-stale add ef1d850 fix: Fix MarkLine/MarkPoint/MarkArea do not work on time axis if input string time format. fix #15675 new babc67d Merge pull request #15686 from apache/fix/dataset-perf 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/component/marker/MarkAreaView.ts | 42 +++ src/component/marker/MarkLineView.ts | 9 ++-- src/component/marker/MarkPointView.ts| 12 ++--- src/component/marker/markerHelper.ts | 35 + test/{emphasis-inherit.html => marker-case.html} | 66 ++-- 5 files changed, 92 insertions(+), 72 deletions(-) copy test/{emphasis-inherit.html => marker-case.html} (56%) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch fix/dataset-perf created (now ef1d850)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch fix/dataset-perf in repository https://gitbox.apache.org/repos/asf/echarts.git. at ef1d850 fix: Fix MarkLine/MarkPoint/MarkArea do not work on time axis if input string time format. fix #15675 This branch includes the following new commits: new ef1d850 fix: Fix MarkLine/MarkPoint/MarkArea do not work on time axis if input string time format. fix #15675 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
[echarts] 01/01: fix: Fix MarkLine/MarkPoint/MarkArea do not work on time axis if input string time format. fix #15675
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch fix/dataset-perf in repository https://gitbox.apache.org/repos/asf/echarts.git commit ef1d850d886028cc4c7b259be04aa03fa0873fcf Author: sushuang AuthorDate: Tue Sep 7 20:19:55 2021 +0800 fix: Fix MarkLine/MarkPoint/MarkArea do not work on time axis if input string time format. fix #15675 --- src/component/marker/MarkAreaView.ts | 42 ++--- src/component/marker/MarkLineView.ts | 9 +-- src/component/marker/MarkPointView.ts | 12 ++-- src/component/marker/markerHelper.ts | 35 +++ test/marker-case.html | 111 ++ 5 files changed, 165 insertions(+), 44 deletions(-) diff --git a/src/component/marker/MarkAreaView.ts b/src/component/marker/MarkAreaView.ts index e23403c..f9b762c 100644 --- a/src/component/marker/MarkAreaView.ts +++ b/src/component/marker/MarkAreaView.ts @@ -27,7 +27,7 @@ import { enableHoverEmphasis, setStatesStylesFromModel } from '../../util/states import * as markerHelper from './markerHelper'; import MarkerView from './MarkerView'; import { retrieve, mergeAll, map, curry, filter, HashMap, extend } from 'zrender/src/core/util'; -import { ScaleDataValue, ParsedValue, ZRColor } from '../../util/types'; +import { ParsedValue, ScaleDataValue, ZRColor } from '../../util/types'; import { CoordinateSystem, isCoordinateSystemType } from '../../coord/CoordinateSystem'; import MarkAreaModel, { MarkArea2DDataItemOption } from './MarkAreaModel'; import SeriesModel from '../../model/Series'; @@ -41,6 +41,7 @@ import { getVisualFromData } from '../../visual/helper'; import { setLabelStyle, getLabelStatesModels } from '../../label/labelStyle'; import { getECData } from '../../util/innerStore'; import Axis2D from '../../coord/cartesian/Axis2D'; +import { parseDataValue } from '../../data/helper/dataValueHelper'; interface MarkAreaDrawGroup { group: graphic.Group @@ -362,11 +363,11 @@ function createList( maModel: MarkAreaModel ) { -let coordDimsInfos: SeriesDimensionDefine[]; let areaData: SeriesData; +let dataDims: SeriesDimensionDefine[]; const dims = ['x0', 'y0', 'x1', 'y1']; if (coordSys) { -coordDimsInfos = map(coordSys && coordSys.dimensions, function (coordDim) { +const coordDimsInfos: SeriesDimensionDefine[] = map(coordSys && coordSys.dimensions, function (coordDim) { const data = seriesModel.getData(); const info = data.getDimensionInfo( data.mapDimension(coordDim) @@ -378,19 +379,18 @@ function createList( ordinalMeta: null }); }); -areaData = new SeriesData(map(dims, function (dim, idx) { -return { -name: dim, -type: coordDimsInfos[idx % 2].type -}; -}), maModel); +dataDims = map(dims, (dim, idx) => ({ +name: dim, +type: coordDimsInfos[idx % 2].type +})); +areaData = new SeriesData(dataDims, maModel); } else { -coordDimsInfos = [{ +dataDims = [{ name: 'value', type: 'float' }]; -areaData = new SeriesData(coordDimsInfos, maModel); +areaData = new SeriesData(dataDims, maModel); } let optData = map(maModel.get('data'), curry( @@ -402,17 +402,15 @@ function createList( ); } -const dimValueGetter = coordSys ? function ( -item: MarkAreaMergedItemOption, -dimName: string, -dataIndex: number, -dimIndex: number -) { -// TODO should convert to ParsedValue? -return item.coord[Math.floor(dimIndex / 2)][dimIndex % 2] as ParsedValue; -} : function (item: MarkAreaMergedItemOption) { -return item.value; -}; +const dimValueGetter: markerHelper.MarkerDimValueGetter = coordSys +? function (item, dimName, dataIndex, dimIndex) { +// TODO should convert to ParsedValue? +const rawVal = item.coord[Math.floor(dimIndex / 2)][dimIndex % 2]; +return parseDataValue(rawVal, dataDims[dimIndex]); +} +: function (item, dimName, dataIndex, dimIndex) { +return parseDataValue(item.value, dataDims[dimIndex]); +}; areaData.initData(optData, null, dimValueGetter); areaData.hasItemOption = true; return areaData; diff --git a/src/component/marker/MarkLineView.ts b/src/component/marker/MarkLineView.ts index 212ce68..7c651b6 100644 --- a/src/component/marker/MarkLineView.ts +++ b/src/component/marker/MarkLineView.ts @@ -50,6 +50,7 @@ import { makeInner } from '../../util/model'; import { LineDataVisual } from '../../visual/commonVisualTypes'; import { getVisualFromData } from '../../visual/helper'; import Axis2D from '../../coord/cartesian/Axis2D'; +import SeriesDimensionDefine from '../../data/Se
[echarts] 01/01: Merge pull request #15647 from apache/release
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git commit 43b0da2322fbfcfd81ea12abf9d651d26537c4a2 Merge: 78d20e1 41b7769 Author: sushuang AuthorDate: Wed Sep 1 14:24:33 2021 +0800 Merge pull request #15647 from apache/release Release 5.2.0 merge to master dist/echarts.common.js | 12552 - dist/echarts.common.js.map | 2 +- dist/echarts.common.min.js | 4 +- dist/echarts.esm.js | 36040 + dist/echarts.esm.js.map | 2 +- dist/echarts.esm.min.js | 4 +- dist/echarts.js | 36041 ++ dist/echarts.js.map | 2 +- dist/echarts.min.js | 4 +- dist/echarts.simple.js | 11727 + dist/echarts.simple.js.map | 2 +- dist/echarts.simple.min.js | 4 +- package-lock.json | 8 +- package.json| 4 +- 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 +- src/coord/axisModelCommonMixin.ts | 1 + src/core/echarts.ts | 4 +- src/data/Graph.ts | 1 + src/data/Tree.ts| 3 +- src/label/installLabelLayout.ts |20 + src/label/labelStyle.ts | 4 +- src/label/sectorLabel.ts|20 + src/layout/points.ts| 1 - src/model/Model.ts |11 +- src/util/conditionalExpression.ts | 2 +- src/visual/style.ts | 2 +- 30 files changed, 50804 insertions(+), 45706 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch master updated (78d20e1 -> 43b0da2)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/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 add 0043798 fix: add null condition. add 7890d0e Merge pull request #15612 from apache/release-dev add 6083ce5 fix: fix lint. add 5fb2fab Merge pull request #15618 from apache/release-dev add fd9bf4a release 5.2.0 add 41b7769 Merge pull request #15619 from apache/release-dev new 43b0da2 Merge pull request #15647 from apache/release 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: dist/echarts.common.js | 12552 - dist/echarts.common.js.map | 2 +- dist/echarts.common.min.js | 4 +- dist/echarts.esm.js | 36040 + dist/echarts.esm.js.map | 2 +- dist/echarts.esm.min.js | 4 +- dist/echarts.js | 36041 ++ dist/echarts.js.map | 2 +- dist/echarts.min.js | 4 +- dist/echarts.simple.js | 11727 + dist/echarts.simple.js.map | 2 +- dist/echarts.simple.min.js | 4 +- package-lock.json | 8 +- package.json| 4 +- 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 +- src/coord/axisModelCommonMixin.ts | 1 + src/core/echarts.ts | 4 +- src/data/Graph.ts | 1 + src/data/Tree.ts| 3 +- src/label/installLabelLayout.ts |20 + src/label/labelStyle.ts | 4 +- src/label/sectorLabel.ts|20 + src/layout/points.ts| 1 - src/model/Model.ts |11 +- src/util/conditionalExpression.ts | 2 +- src/visual/style.ts | 2 +- 30 files changed, 50804 insertions(+), 45706 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] tag 5.2.0 created (now 41b7769)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to tag 5.2.0 in repository https://gitbox.apache.org/repos/asf/echarts.git. at 41b7769 (commit) No new revisions were added by this update. - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
svn commit: r49707 - in /release/echarts/5.2.0: ./ apache-echarts-5.2.0-src.zip apache-echarts-5.2.0-src.zip.asc apache-echarts-5.2.0-src.zip.sha512
Author: sushuang Date: Wed Sep 1 04:51:34 2021 New Revision: 49707 Log: release Added: release/echarts/5.2.0/ release/echarts/5.2.0/apache-echarts-5.2.0-src.zip (with props) release/echarts/5.2.0/apache-echarts-5.2.0-src.zip.asc release/echarts/5.2.0/apache-echarts-5.2.0-src.zip.sha512 Added: release/echarts/5.2.0/apache-echarts-5.2.0-src.zip == Binary file - no diff available. Propchange: release/echarts/5.2.0/apache-echarts-5.2.0-src.zip -- svn:mime-type = application/octet-stream Added: release/echarts/5.2.0/apache-echarts-5.2.0-src.zip.asc == --- release/echarts/5.2.0/apache-echarts-5.2.0-src.zip.asc (added) +++ release/echarts/5.2.0/apache-echarts-5.2.0-src.zip.asc Wed Sep 1 04:51:34 2021 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCgAdFiEEmwbZtPo3xN1ScldCdHmF1+POtjUFAmEqRZoACgkQdHmF1+PO +tjXVmxAA0BLGFFxRWWiAiOv5+ferdz2brNw7QPFKQoy/vzK+00AB8E3fLurXDFnr +v9klDktjv8U2O8gFm2nkrtcCem3RJKXWoQQRgX1lVkanFz2LnsCXDmdVbFRvHsXR +B3xw4oEearpDa2a4q/EuZU7HyXpv1GM6/ZgEx6T+XVisCB6Qucp8tZrbLwKGNcD6 +z3TJo4Xs+OjV4fHmTZ7FMFxjz4+Z6Qb90xHcSrT+1Ey45I9PW6VnqXPDhsj/ml8r +epU5RuFEZ8HQ6pvCRSQBNdhK4nHVZluwYs+ARrG5D0aN+SR2jYEVTQO39PhPm3J0 +bq5WvLdcWlv1owbyAwpRgo8CK6158RzYDITfKl+1ol6xDHPjVBfo6BSNghN8JDpp +NZzCCnoli1LxItXYVHI/6NQ7b4TnvGt3t2z0juzE4LYUa6A0l0qxL2nk9M7E/i4n +GOU2Mo9LzQ872eCNAa7okQIBWWU49bdEuKyAuvtIJhOmuqJOGDLqhYxpyJOTO1Sq +v8UAYiilvQtNfRhYVSuqsG4NWWfJewEgsDEyNPfvSpGxgYk5kjN64/IJ5/Vptzs1 +S3MYbU4WzFTtFyj44UerkZ0f9DVFhG17cm6vtwdP//jdV12fvS8Fz0QBX/cD6nZG +iZXq26sA7RX0cXykAoiahQGWcvnKutd861ibNiI4gaYpCrySZMc= +=xnzB +-END PGP SIGNATURE- Added: release/echarts/5.2.0/apache-echarts-5.2.0-src.zip.sha512 == --- release/echarts/5.2.0/apache-echarts-5.2.0-src.zip.sha512 (added) +++ release/echarts/5.2.0/apache-echarts-5.2.0-src.zip.sha512 Wed Sep 1 04:51:34 2021 @@ -0,0 +1 @@ +5fdd86ae55d837d735c53e750a43033e8cb0822a05b5192757809bdd2056e91fe95cae54ff0b1d027a1d91f91db3cbf3d086eaa7150689454560d992a671e452 apache-echarts-5.2.0-rc.1-src.zip - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
svn commit: r49662 - in /dev/echarts/5.2.0-rc.1: ./ RELEASE_NOTE.txt apache-echarts-5.2.0-rc.1-src.zip apache-echarts-5.2.0-rc.1-src.zip.asc apache-echarts-5.2.0-rc.1-src.zip.sha512
Author: sushuang Date: Sat Aug 28 14:18:55 2021 New Revision: 49662 Log: prerelease Added: dev/echarts/5.2.0-rc.1/ dev/echarts/5.2.0-rc.1/RELEASE_NOTE.txt dev/echarts/5.2.0-rc.1/apache-echarts-5.2.0-rc.1-src.zip (with props) dev/echarts/5.2.0-rc.1/apache-echarts-5.2.0-rc.1-src.zip.asc dev/echarts/5.2.0-rc.1/apache-echarts-5.2.0-rc.1-src.zip.sha512 Added: dev/echarts/5.2.0-rc.1/RELEASE_NOTE.txt == --- dev/echarts/5.2.0-rc.1/RELEASE_NOTE.txt (added) +++ dev/echarts/5.2.0-rc.1/RELEASE_NOTE.txt Sat Aug 28 14:18:55 2021 @@ -0,0 +1,58 @@ +## 5.2.0 + +## v5.2.0 + + Break Changes + ++ [Fix] [pie] Negative value will be filtered [#15095](https://github.com/apache/echarts/issues/15095) ([ssthouse](https://github.com/ssthouse)) + + All Changes + ++ **[Feature] Introduce universal transition to all series. [#15208](https://github.com/apache/echarts/issues/15208) ([pissang](https://github.com/pissang))** ++ [Feature] [color] Add `series.colorBy` [#13788](https://github.com/apache/echarts/issues/13788) ([Ovilia](https://github.com/Ovilia)) ++ [Feature] [label] Support sector label positions for polar bars [#774](https://github.com/ecomfe/zrender/issues/774) ([Ovilia](https://github.com/Ovilia)) ++ [Feature] [effectScatter] Add `rippleEffect.number` [#15335](https://github.com/apache/echarts/issues/15335) ([plainheart](https://github.com/plainheart)) ++ [Feature] [gauge] Add `pointer.showAbove` to allow pointer show above the title and details. [#15337](https://github.com/apache/echarts/issues/15337) ([AmosChenYQ](https://github.com/AmosChenYQ)) [#15326](https://github.com/apache/echarts/issues/15326) ([susiwen8](https://github.com/susiwen8)) ++ [Feature] [gauge] Add `pointer.showAbove` to allow pointer show above the title and details. [#15337](https://github.com/apache/echarts/issues/15337) ([AmosChenYQ](https://github.com/AmosChenYQ)) [#15326](https://github.com/apache/echarts/issues/15326) ([susiwen8](https://github.com/susiwen8)) ++ [Feature] [emphasis] `emphasis.color` can use `'inherit'` to be not higlighted. [#15172](https://github.com/apache/echarts/issues/15172) ([Foreverwzh](https://github.com/Foreverwzh)) ++ [Feature] [pie] Display an empty cicle when pie don't have value. [#15095](https://github.com/apache/echarts/issues/15095) ([ssthouse](https://github.com/ssthouse)) ++ [Fix] [dataset] Fix dataset performance drops signifcantly on high dimensions data. [#15355](https://github.com/apache/echarts/issues/15355) ([pissang](https://github.com/pissang)) ++ [Fix] [axis] Optimize format in time axis [#15465](https://github.com/apache/echarts/issues/15465) ([leavest](https://github.com/leavest)) [#15434](https://github.com/apache/echarts/issues/15434) ([zhiyuc123](https://github.com/zhiyuc123)) ++ [Fix] [custom] Optimize text font compatibility with older versions [#15454](https://github.com/apache/echarts/issues/15454) ([AmosChenYQ](https://github.com/AmosChenYQ)) ++ [Fix] [memory] Optimize memory when chart instance is still hold after dispose [#15417](https://github.com/apache/echarts/issues/15417) ([pissang](https://github.com/pissang)) ++ [Fix] [line] Optimize color gradient when having infinite value. [#15416](https://github.com/apache/echarts/issues/15416) ([plainheart](https://github.com/plainheart)) ++ [Fix] [date] Optimize date parsing [#15410](https://github.com/apache/echarts/issues/15410) ([quillblue](https://github.com/quillblue)) ++ [Fix] [line] Fix render bug. [#788](https://github.com/ecomfe/zrender/issues/788) ([pissang](https://github.com/pissang)) ++ [Fix] [candlestick] Fix style lost after update [#15368](https://github.com/apache/echarts/issues/15368) ([pissang](https://github.com/pissang)) ++ [Fix] [sankey] Gradient should follow orient. [#15363](https://github.com/apache/echarts/issues/15363) ([susiwen8](https://github.com/susiwen8)) ++ [Fix] [tooltip] Fix tooltip formatter doesn't renders HTMLElement if tooltip position is specified. [#15313](https://github.com/apache/echarts/issues/15313) ([plainheart](https://github.com/plainheart)) ++ [Fix] [tooltip] Tooltip should clear content when formatter returns null. [#15313](https://github.com/apache/echarts/issues/15313) ([plainheart](https://github.com/plainheart)) ++ [Fix] [bar] Set label to be inside when position is `'middle'` [#15309](https://github.com/apache/echarts/issues/15309) ([Ovilia](https://github.com/Ovilia)) ++ [Fix] [marker] Fix 'clampData' undefined error in 'getMarkerPosition' [#15297](https://github.com/apache/echarts/issues/15297) ([AmosChenYQ](https://github.com/AmosChenYQ)) ++ [Fix] [treemap] Fix old nodes not removed when disabled animation [#15283](https://github.com/apache/echarts/issues/15283) ([villebro](https://github.com/villebro)) ++ [Fix] [tree] Fix edge may not removed when update data [#15251](https://github.com/apache/echarts/issues/15251
[echarts] tag 5.2.0-rc.1 created (now 41b7769)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to tag 5.2.0-rc.1 in repository https://gitbox.apache.org/repos/asf/echarts.git. at 41b7769 (commit) No new revisions were added by this update. - 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 #15619 from apache/release-dev
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git commit 41b7769648333d0a1da1101ebebfc9174d618863 Merge: 5fb2fab fd9bf4a Author: sushuang AuthorDate: Sat Aug 28 17:40:27 2021 +0800 Merge pull request #15619 from apache/release-dev release 5.2.0 dist/echarts.common.js | 12552 ++--- dist/echarts.common.js.map | 2 +- dist/echarts.common.min.js | 4 +- dist/echarts.esm.js | 36040 +++-- dist/echarts.esm.js.map | 2 +- dist/echarts.esm.min.js | 4 +- dist/echarts.js | 36041 -- dist/echarts.js.map | 2 +- dist/echarts.min.js | 4 +- dist/echarts.simple.js | 11727 +++-- dist/echarts.simple.js.map | 2 +- dist/echarts.simple.min.js | 4 +- package-lock.json | 8 +- package.json| 4 +- src/core/echarts.ts | 4 +- src/label/installLabelLayout.ts |20 + src/label/sectorLabel.ts|20 + 17 files changed, 50780 insertions(+), 45660 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch release updated (5fb2fab -> 41b7769)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git. from 5fb2fab Merge pull request #15618 from apache/release-dev add fd9bf4a release 5.2.0 new 41b7769 Merge pull request #15619 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: dist/echarts.common.js | 12552 ++--- dist/echarts.common.js.map | 2 +- dist/echarts.common.min.js | 4 +- dist/echarts.esm.js | 36040 +++-- dist/echarts.esm.js.map | 2 +- dist/echarts.esm.min.js | 4 +- dist/echarts.js | 36041 -- dist/echarts.js.map | 2 +- dist/echarts.min.js | 4 +- dist/echarts.simple.js | 11727 +++-- dist/echarts.simple.js.map | 2 +- dist/echarts.simple.min.js | 4 +- package-lock.json | 8 +- package.json| 4 +- src/core/echarts.ts | 4 +- src/label/installLabelLayout.ts |20 + src/label/sectorLabel.ts|20 + 17 files changed, 50780 insertions(+), 45660 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch release-dev updated (6083ce5 -> fd9bf4a)
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 6083ce5 fix: fix lint. add 5fb2fab Merge pull request #15618 from apache/release-dev new fd9bf4a release 5.2.0 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: dist/echarts.common.js | 12552 ++--- dist/echarts.common.js.map | 2 +- dist/echarts.common.min.js | 4 +- dist/echarts.esm.js | 36040 +++-- dist/echarts.esm.js.map | 2 +- dist/echarts.esm.min.js | 4 +- dist/echarts.js | 36041 -- dist/echarts.js.map | 2 +- dist/echarts.min.js | 4 +- dist/echarts.simple.js | 11727 +++-- dist/echarts.simple.js.map | 2 +- dist/echarts.simple.min.js | 4 +- package-lock.json | 8 +- package.json| 4 +- src/core/echarts.ts | 4 +- src/label/installLabelLayout.ts |20 + src/label/sectorLabel.ts|20 + 17 files changed, 50780 insertions(+), 45660 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch release updated (7890d0e -> 5fb2fab)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git. from 7890d0e Merge pull request #15612 from apache/release-dev add 6083ce5 fix: fix lint. new 5fb2fab Merge pull request #15618 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/coord/axisModelCommonMixin.ts | 1 + src/data/Graph.ts | 1 + src/data/Tree.ts | 3 ++- src/label/labelStyle.ts | 4 +--- src/layout/points.ts | 1 - src/model/Model.ts| 11 ++- src/util/conditionalExpression.ts | 2 +- src/visual/style.ts | 2 +- 8 files changed, 13 insertions(+), 12 deletions(-) - 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 #15618 from apache/release-dev
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git commit 5fb2fab98bcc6234aea920fdd9c1b6c9f27d21c1 Merge: 7890d0e 6083ce5 Author: sushuang AuthorDate: Sat Aug 28 16:27:03 2021 +0800 Merge pull request #15618 from apache/release-dev Fix lint. src/coord/axisModelCommonMixin.ts | 1 + src/data/Graph.ts | 1 + src/data/Tree.ts | 3 ++- src/label/labelStyle.ts | 4 +--- src/layout/points.ts | 1 - src/model/Model.ts| 11 ++- src/util/conditionalExpression.ts | 2 +- src/visual/style.ts | 2 +- 8 files changed, 13 insertions(+), 12 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch release-dev updated (0043798 -> 6083ce5)
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 0043798 fix: add null condition. add 7890d0e Merge pull request #15612 from apache/release-dev new 6083ce5 fix: fix lint. 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/coord/axisModelCommonMixin.ts | 1 + src/data/Graph.ts | 1 + src/data/Tree.ts | 3 ++- src/label/labelStyle.ts | 4 +--- src/layout/points.ts | 1 - src/model/Model.ts| 11 ++- src/util/conditionalExpression.ts | 2 +- src/visual/style.ts | 2 +- 8 files changed, 13 insertions(+), 12 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] 01/01: fix: fix lint.
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 6083ce5e97a0b4aa58e7b5d4f17f3fee5d7ba1ad Author: sushuang AuthorDate: Sat Aug 28 02:39:04 2021 +0800 fix: fix lint. --- src/coord/axisModelCommonMixin.ts | 1 + src/data/Graph.ts | 1 + src/data/Tree.ts | 3 ++- src/label/labelStyle.ts | 4 +--- src/layout/points.ts | 1 - src/model/Model.ts| 11 ++- src/util/conditionalExpression.ts | 2 +- src/visual/style.ts | 2 +- 8 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/coord/axisModelCommonMixin.ts b/src/coord/axisModelCommonMixin.ts index 4550618..2c3bbc5 100644 --- a/src/coord/axisModelCommonMixin.ts +++ b/src/coord/axisModelCommonMixin.ts @@ -27,6 +27,7 @@ interface AxisModelCommonMixin extends Pick { getNeedCrossZero(): boolean { diff --git a/src/data/Graph.ts b/src/data/Graph.ts index 4605ff1..6ebb2ca 100644 --- a/src/data/Graph.ts +++ b/src/data/Graph.ts @@ -412,6 +412,7 @@ class GraphEdge { getModel(): Model getModel(path: S): Model +// eslint-disable-next-line @typescript-eslint/no-unused-vars getModel(path?: string): Model { if (this.dataIndex < 0) { return; diff --git a/src/data/Tree.ts b/src/data/Tree.ts index 0389f6a..3b5d4a7 100644 --- a/src/data/Tree.ts +++ b/src/data/Tree.ts @@ -228,6 +228,7 @@ export class TreeNode { getModel(): Model // @depcrecated // getModel(path: S): Model +// eslint-disable-next-line @typescript-eslint/no-unused-vars getModel(path?: string): Model { if (this.dataIndex < 0) { return; @@ -412,7 +413,7 @@ class Tree { * ] * } */ -static createTree( +static createTree( dataRoot: T, hostModel: HostModel, beforeLink?: (data: SeriesData) => void diff --git a/src/label/labelStyle.ts b/src/label/labelStyle.ts index 606aa94..e63a351 100644 --- a/src/label/labelStyle.ts +++ b/src/label/labelStyle.ts @@ -30,8 +30,7 @@ import { ColorString, ZRStyleProps, AnimationOptionMixin, -InterpolatableValue, -SeriesDataType +InterpolatableValue } from '../util/types'; import GlobalModel from '../model/Global'; import { isFunction, retrieve2, extend, keys, trim } from 'zrender/src/core/util'; @@ -40,7 +39,6 @@ import { deprecateReplaceLog } from '../util/log'; import { makeInner, interpolateRawValues } from '../util/model'; import SeriesData from '../data/SeriesData'; import { initProps, updateProps } from '../util/graphic'; -import { getECData } from '../util/innerStore'; type TextCommonParams = { /** diff --git a/src/layout/points.ts b/src/layout/points.ts index bde24f1..0b06040 100644 --- a/src/layout/points.ts +++ b/src/layout/points.ts @@ -17,7 +17,6 @@ * under the License. */ -/* global Float32Array */ import {map} from 'zrender/src/core/util'; import createRenderPlanner from '../chart/helper/createRenderPlanner'; diff --git a/src/model/Model.ts b/src/model/Model.ts index 559c3e9..160c825 100644 --- a/src/model/Model.ts +++ b/src/model/Model.ts @@ -36,12 +36,13 @@ import { mixin, clone, merge } from 'zrender/src/core/util'; // Since model.option can be not only `Dictionary` but also primary types, // we do this conditional type to avoid getting type 'never'; -type Key = Opt extends Dictionary -? keyof Opt : string; -type Value = Opt extends Dictionary -? (R extends keyof Opt ? Opt[R] : ModelOption) -: ModelOption; +// type Key = Opt extends Dictionary +// ? keyof Opt : string; +// type Value = Opt extends Dictionary +// ? (R extends keyof Opt ? Opt[R] : ModelOption) +// : ModelOption; +// eslint-disable-next-line @typescript-eslint/no-unused-vars interface Model extends LineStyleMixin, ItemStyleMixin, TextStyleMixin, AreaStyleMixin {} class Model {// TODO: TYPE use unkown insteadof any? diff --git a/src/util/conditionalExpression.ts b/src/util/conditionalExpression.ts index 2d9b752..5107ac5 100644 --- a/src/util/conditionalExpression.ts +++ b/src/util/conditionalExpression.ts @@ -167,7 +167,7 @@ interface RelationalExpressionOption extends parser?: RawValueParserType; } -type RelationalExpressionOpEvaluate = (tarVal: unknown, condVal: unknown) => boolean; +// type RelationalExpressionOpEvaluate = (tarVal: unknown, condVal: unknown) => boolean; class RegExpEvaluator implements FilterComparator { diff --git a/src/visual/style.ts b/src/visual/style.ts index 8683a21..e791189 100644 --- a/src/visual/style.ts +++ b/src/visual/style.ts @@ -18,7 +18,7 @@ */ import { isFunction, extend, createHashMap } from 'zrender/src/core/util'; -import { StageHandler, CallbackDataParams, ZRColor, Dictionary, InnerDecalObject, SeriesOption } +import { StageHandler, Cal
[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('R
[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-exa
[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
[echarts] 01/01: Merge pull request #15588 from apache/fix/tooltip-offset
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git commit d97f5bb93a7984cf46fcef1640f70dd78b845374 Merge: b362288 28f7c33 Author: sushuang AuthorDate: Tue Aug 24 13:22:21 2021 +0800 Merge pull request #15588 from apache/fix/tooltip-offset fix(tooltip): tweak the calculation of tooltip offset to make it look not so near to the target element. src/component/tooltip/TooltipHTMLContent.ts | 15 --- src/component/tooltip/TooltipRichContent.ts | 8 src/component/tooltip/TooltipView.ts| 16 3 files changed, 8 insertions(+), 31 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch release updated (b362288 -> d97f5bb)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git. from 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`. new d97f5bb Merge pull request #15588 from apache/fix/tooltip-offset 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/component/tooltip/TooltipHTMLContent.ts | 15 --- src/component/tooltip/TooltipRichContent.ts | 8 src/component/tooltip/TooltipView.ts| 16 3 files changed, 8 insertions(+), 31 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch release-dev updated (34be25c -> 78d20e1)
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 34be25c release: 5.1.2 add 29a1859 wip: refacting morphing in custom series add 1f7ade1 fix(custom): fix morph not work after refactor add 9019ed8 refact: fix single morphing add d6cb3b4 refact(custom): optimize morph transition add 1637ad8 :erge branch 'master' into enhance-morph add ae8d321 refact(custom): default to clone path add 4c43b64 fix(morph): handle path number don't match between morph groups add 0c8c9eb fix: rename splitPath to dividePath add fce0f18 fix(morph): fix null access add 41d149a feat(morph): add common shape dividers add e0be0f7 refact: use default path divider in zrender add 51387f5 fix(endLabel): endLabel should be displayed if show is true in other states #14441 add 8776a03 refactor(endLabel): use state loop in show checking add bb791dc refactor(endLabel): use seriesModel to get endLabel.show add 3dbb082 Merge pull request #15072 from apache/fix-endLabel add 4316b56 Merge branch 'master' into enhance-morph add 9d6f2ff fix(merge): fix some issues in merging add ccd4ed6 refact: move transition helpers to animation module add 2b844e7 refact: share common codes between animation modules add 3112145 feat: add universal transition feature add 7b86131 feat(ut): transition styles add 0710cd2 test(ut): add test case for transition treemap, sunburst add 01cca2d feat(ut): add disableMorphing. fade in new added elements add 262a96c fix(ut): fix stopAnimation is aborted in group traverse add cb7df68 test(ut): add map to bar transition case add 0b452f6 feat(ut): rename universalAnimation cfg to universalTransition add 27cf9cd feat(ut): support drilldown/up transition add e7ad096 refact(type): optimize event type add 5b7edb8 feat: introduce update lifecycle. make label layout registerable. add 472ba89 feat: universal transition between same series add 8601129 feat(ut): fix old element remove when transition to new add 18c8374 feat(ut): add transition between different symbol of scatters add 1800eb2 feat(ut): bake transform before old element is removed. add 2ed5644 test(ut): add more test case for universal transition add d49b9f6 feat(ut): optimize transition between line and others add f64f05b feat(ut): fix transitions when using dataset encode add 5a0fd32 feat(ut): better guess of animation key when groupBy is used. add 11365e8 feat(ut): support multiple series transition add fd0da45 feat(ut): fix wrong state after morph transition add 00fde3c Merge pull request #15084 from apache/release-dev add ce25f1f Merge pull request #15125 from apache/release add 7c311c0 fix: pictorialBar display zero value error add 21836a3 Merge pull request #15132 from ssthouse/fix/pictorialBar-zero-value add 56323d2 fix(treemap): label.show=false will throw error add 5655026 fix(treemap): consider all state before get textEl add 2615b69 fix(tremap): just check text element existence add d7be617 fix(pie): change the default borderJoin to `round`, fix #15021. add ae053f2 Merge pull request #15145 from apache/fix/pie-default-border-join add d7c27ca fix(type): fix wrong type for PieSeries data and MapSeries data, resolves #15143. add 1054ea5 Merge pull request #15144 from apache/fix/data-item-types add 23c9355 Merge branch 'apache:master' into fix-treemap add 04bbaf7 chore: remove unused import add ad31471 Merge pull request #15141 from susiwen8/fix-treemap add 65b6455 fix(lines): fix lines can't be cleared by `chart.clear()`. - fix #4206 - fix #8225 - fix #8226 - fix #10828 - fix #13428 - fix #13725 add eb0c794 test(lines): add test case for clearing lines. add 757350c fix(lint): remove unused import `DISPLAY_STATES` in `LineView.ts` to resolves the maxlen lint error, brought by #15072. add cd3b7e6 Merge pull request #15088 from apache/fix-lines-clear add ad3c057 Merge remote-tracking branch 'origin/master' into enhance-morph add 3e6297c feat(ut): remove the old transition code in custom series add feb0656 feat(ut): keep the original transition working add 87e58b9 feat(ut): fix some null access bug. add c9f4853 feat(ut): support mulitple from/to in setOption transition add 8dd75b2 feat(ut): handle setOption transition in ut module. add 8ece4d4 fix unexpected inner import from exports add 63a0b16 feat(ut): fade in other elements that has no animation add 659ae01 fix(ut): fix some null access issue add 9217b0b feat(ut): disable universal transition on large data. add 4689903 refact(ut): move old series save to ut module
[echarts] branch master updated (4569dc1 -> 78d20e1)
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git. from 4569dc1 Merge pull request #15355 from apache/dataset-perf add 8ee3fed fix(bar): optimize label distance when using round cap new 78d20e1 Merge pull request #15573 from apache/fix-sausage-label-distance 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/chart/bar/BarView.ts | 8 -- src/label/sectorLabel.ts | 72 --- test/bar-polar-label.html | 5 +++- 3 files changed, 53 insertions(+), 32 deletions(-) - 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 #15573 from apache/fix-sausage-label-distance
This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git commit 78d20e15d3e195fab7dcd8e63a7bb195336d1010 Merge: 4569dc1 8ee3fed Author: sushuang AuthorDate: Sun Aug 22 21:13:21 2021 +0800 Merge pull request #15573 from apache/fix-sausage-label-distance fix(bar): optimize label distance when using round cap src/chart/bar/BarView.ts | 8 -- src/label/sectorLabel.ts | 72 --- test/bar-polar-label.html | 5 +++- 3 files changed, 53 insertions(+), 32 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org