[echarts-doc] branch master updated: chore(deps): bump terser from 4.8.0 to 4.8.1 in /editor
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-doc.git The following commit(s) were added to refs/heads/master by this push: new d2fe776e chore(deps): bump terser from 4.8.0 to 4.8.1 in /editor d2fe776e is described below commit d2fe776eff48617f5812c91d80b57ee2aed1ae5f Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Thu Jul 21 01:46:09 2022 + chore(deps): bump terser from 4.8.0 to 4.8.1 in /editor Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. - [Release notes](https://github.com/terser/terser/releases) - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/commits) --- updated-dependencies: - dependency-name: terser dependency-type: indirect ... Signed-off-by: dependabot[bot] --- editor/package-lock.json | 82 +++- 1 file changed, 74 insertions(+), 8 deletions(-) diff --git a/editor/package-lock.json b/editor/package-lock.json index 58125753..9a22732c 100644 --- a/editor/package-lock.json +++ b/editor/package-lock.json @@ -1176,6 +1176,55 @@ } } }, +"@jridgewell/gen-mapping": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz;, + "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", + "dev": true, + "requires": { +"@jridgewell/set-array": "^1.0.1", +"@jridgewell/sourcemap-codec": "^1.4.10", +"@jridgewell/trace-mapping": "^0.3.9" + } +}, +"@jridgewell/resolve-uri": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz;, + "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", + "dev": true +}, +"@jridgewell/set-array": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz;, + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "dev": true +}, +"@jridgewell/source-map": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.2.tgz;, + "integrity": "sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==", + "dev": true, + "requires": { +"@jridgewell/gen-mapping": "^0.3.0", +"@jridgewell/trace-mapping": "^0.3.9" + } +}, +"@jridgewell/sourcemap-codec": { + "version": "1.4.14", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz;, + "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", + "dev": true +}, +"@jridgewell/trace-mapping": { + "version": "0.3.14", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.14.tgz;, + "integrity": "sha512-bJWEfQ9lPTvm3SneWwRFVLzrh6nhjwqw7TUFFBEMzwvg7t7PCDenf2lDwqo4NQXzdpgBXyFgDWnQA+2vkruksQ==", + "dev": true, + "requires": { +"@jridgewell/resolve-uri": "^3.0.3", +"@jridgewell/sourcemap-codec": "^1.4.10" + } +}, "@nodelib/fs.scandir": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz;, @@ -13187,9 +13236,9 @@ "dev": true }, "terser": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz;, - "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==", + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.1.tgz;, + &quo
[echarts-doc] branch fix-roam created (now fa4d5a49)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch fix-roam in repository https://gitbox.apache.org/repos/asf/echarts-doc.git at fa4d5a49 doc: add doc for graphroam, georoam, and treeroam This branch includes the following new commits: new fa4d5a49 doc: add doc for graphroam, georoam, and treeroam 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-doc] 01/01: doc: add doc for graphroam, georoam, and treeroam
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch fix-roam in repository https://gitbox.apache.org/repos/asf/echarts-doc.git commit fa4d5a494eb32f746b1de191268dd624e98d7b3f Author: Ovilia AuthorDate: Thu Jul 28 16:27:31 2022 +0800 doc: add doc for graphroam, georoam, and treeroam --- en/api/events.md | 54 +- zh/api/events.md | 54 +- 2 files changed, 106 insertions(+), 2 deletions(-) diff --git a/en/api/events.md b/en/api/events.md index f7a497b4..1ef9c41b 100644 --- a/en/api/events.md +++ b/en/api/events.md @@ -235,6 +235,59 @@ Event emitted after range is changed in visualMap. } ``` +## graphroam(Event) +Event emitted after [series-graph](option.html#series-graph) is roamed. + +```ts +{ +type: 'graphroam', +seriesId: string, +zoom: number, // zoom ratio of roaming once +originX: number, +originY: number +} +``` + +## georoam(Event) +Event emitted after [geo](option.html#geo) is roamed. + +```ts +{ +type: 'georoam', +componentType: 'geo' | 'series', +seriesId: string, +zoom: number, // zoom ratio of roaming once +originX: number, +originY: number +} +``` + +## treeroam(Event) +Event emitted after [series-tree](option.html#series-tree) is roamed. + +`treeroam` events include two types. One is triggered by panning and the parameters are: + +```ts +{ +type: 'treeroam', +seriesId: string, +dx: number, +dy: number +} +``` + +The other type is triggered by zooming and the parameters are: + +```ts +{ +type: 'treeroam', +seriesId: string, +zoom: number, // zoom ratio of roaming once +originX: number, +originY: number +} +``` + ## timelinechanged(Event) **ACTION:** [timelineChange](~action.timeline.timelineChange) Event emitted after time point in timeline is changed. @@ -540,4 +593,3 @@ Use `dispatchAction` will trigger this event, but user clicking won't trigger it } } ``` - diff --git a/zh/api/events.md b/zh/api/events.md index a91c5f35..4f79f611 100644 --- a/zh/api/events.md +++ b/zh/api/events.md @@ -233,6 +233,59 @@ chart.on('mouseover', {seriesIndex: 1, name: 'xx'}, function (params) { } ``` +## graphroam(Event) +关系图 [series-graph](option.html#series-graph) 的缩放和平移漫游事件。 + +```ts +{ +type: 'graphroam', +seriesId: string, +zoom: number, // 单次缩放倍数 +originX: number, +originY: number +} +``` + +## georoam(Event) +地理坐标系 [geo](option.html#geo) 的缩放和平移漫游事件。 + +```ts +{ +type: 'georoam', +componentType: 'geo' | 'series', +seriesId: string, +zoom: number, // 单次缩放倍数 +originX: number, +originY: number +} +``` + +## treeroam(Event) +树图 [series-tree](option.html#series-tree) 的缩放和平移漫游事件。 + +`treeroam` 事件包括两种,其中一种是平移,事件参数为: + +```ts +{ +type: 'treeroam', +seriesId: string, +dx: number, +dy: number +} +``` + +另一种是缩放,参数为: + +```ts +{ +type: 'treeroam', +seriesId: string, +zoom: number, // 单次缩放倍数 +originX: number, +originY: number +} +``` + ## timelinechanged(Event) **ACTION:** [timelineChange](~action.timeline.timelineChange) 时间轴中的时间点改变后的事件。 @@ -526,4 +579,3 @@ chart.on('finished', function () { } } ``` - - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] 01/01: fix(bar-race): provide subPixelOptimize option to solve #14679
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch fix-subpixel in repository https://gitbox.apache.org/repos/asf/echarts.git commit 749b64e94d53ecc5e4ac4fc217762cae86c2fc5b Author: Ovilia AuthorDate: Tue Jul 26 14:46:14 2022 +0800 fix(bar-race): provide subPixelOptimize option to solve #14679 --- src/component/axis/AxisBuilder.ts | 24 src/component/axis/CartesianAxisView.ts | 14 -- src/component/axis/SingleAxisView.ts| 7 ++- src/coord/axisCommonTypes.ts| 1 + test/bar-race.html | 3 ++- 5 files changed, 37 insertions(+), 12 deletions(-) diff --git a/src/component/axis/AxisBuilder.ts b/src/component/axis/AxisBuilder.ts index b0e31e08f..e338453ed 100644 --- a/src/component/axis/AxisBuilder.ts +++ b/src/component/axis/AxisBuilder.ts @@ -343,13 +343,17 @@ const builders: Record<'axisLine' | 'axisTickLabel' | 'axisName', AxisElementsBu }, axisTickLabel(opt, axisModel, group, transformGroup) { +let subPixelOptimize = axisModel.get('subPixelOptimize'); +if (subPixelOptimize == null) { +subPixelOptimize = true; +} -const ticksEls = buildAxisMajorTicks(group, transformGroup, axisModel, opt); +const ticksEls = buildAxisMajorTicks(group, transformGroup, axisModel, opt, subPixelOptimize); const labelEls = buildAxisLabel(group, transformGroup, axisModel, opt); fixMinMaxLabelShow(axisModel, labelEls, ticksEls); -buildAxisMinorTicks(group, transformGroup, axisModel, opt.tickDirection); +buildAxisMinorTicks(group, transformGroup, axisModel, opt.tickDirection, subPixelOptimize); // This bit fixes the label overlap issue for the time chart. // See https://github.com/apache/echarts/issues/14266 for more. @@ -611,7 +615,8 @@ function createTicks( tickTransform: matrixUtil.MatrixArray, tickEndCoord: number, tickLineStyle: PathStyleProps, -anidPrefix: string +anidPrefix: string, +subPixelOptimize: boolean ) { const tickEls = []; const pt1: number[] = []; @@ -630,7 +635,7 @@ function createTicks( } // Tick line, Not use group transform to have better line draw const tickEl = new graphic.Line({ -subPixelOptimize: true, +subPixelOptimize, shape: { x1: pt1[0], y1: pt1[1], @@ -652,7 +657,8 @@ function buildAxisMajorTicks( group: graphic.Group, transformGroup: graphic.Group, axisModel: AxisBaseModel, -opt: AxisBuilderCfg +opt: AxisBuilderCfg, +subPixelOptimize: boolean ) { const axis = axisModel.axis; @@ -676,7 +682,7 @@ function buildAxisMajorTicks( { stroke: axisModel.get(['axisLine', 'lineStyle', 'color']) } -), 'ticks'); +), 'ticks', subPixelOptimize); for (let i = 0; i < ticksEls.length; i++) { group.add(ticksEls[i]); @@ -689,7 +695,8 @@ function buildAxisMinorTicks( group: graphic.Group, transformGroup: graphic.Group, axisModel: AxisBaseModel, -tickDirection: number +tickDirection: number, +subPixelOptimize: boolean ) { const axis = axisModel.axis; @@ -719,7 +726,8 @@ function buildAxisMinorTicks( for (let i = 0; i < minorTicksCoords.length; i++) { const minorTicksEls = createTicks( -minorTicksCoords[i], transformGroup.transform, tickEndCoord, minorTickLineStyle, 'minorticks_' + i +minorTicksCoords[i], transformGroup.transform, tickEndCoord, minorTickLineStyle, 'minorticks_' + i, +subPixelOptimize ); for (let k = 0; k < minorTicksEls.length; k++) { group.add(minorTicksEls[k]); diff --git a/src/component/axis/CartesianAxisView.ts b/src/component/axis/CartesianAxisView.ts index e04039890..e1a74b6df 100644 --- a/src/component/axis/CartesianAxisView.ts +++ b/src/component/axis/CartesianAxisView.ts @@ -139,6 +139,12 @@ const axisElementBuilders: Record { - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch fix-subpixel created (now 749b64e94)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch fix-subpixel in repository https://gitbox.apache.org/repos/asf/echarts.git at 749b64e94 fix(bar-race): provide subPixelOptimize option to solve #14679 This branch includes the following new commits: new 749b64e94 fix(bar-race): provide subPixelOptimize option to solve #14679 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 fix-17333 updated (44e650e3b -> d9d00b89b)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch fix-17333 in repository https://gitbox.apache.org/repos/asf/echarts.git from 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 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 d9d00b89b Merge branch 'master' into fix-17333 No new revisions were added by this update. Summary of changes: package-lock.json | 174 -- src/action/roamHelper.ts | 4 +- src/chart/custom/CustomView.ts| 22 ++-- src/chart/graph/GraphSeries.ts| 4 +- src/chart/graph/install.ts| 4 +- src/chart/line/LineSeries.ts | 2 +- src/chart/pie/labelLayout.ts | 3 +- src/chart/scatter/ScatterSeries.ts| 4 +- src/chart/tree/treeAction.ts | 6 +- src/component/geo/install.ts | 6 +- src/component/helper/MapDraw.ts | 4 +- 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/single/Single.ts| 2 +- src/coord/single/SingleAxis.ts| 2 - test/custom-update.html | 29 +++-- test/pie-label.html | 120 - test/runTest/actions/__meta__.json| 5 +- test/runTest/actions/custom-update.json | 2 +- test/runTest/actions/geo-map.json | 2 +- test/runTest/actions/pie-label.json | 1 + 24 files changed, 343 insertions(+), 99 deletions(-) create mode 100644 test/runTest/actions/pie-label.json - 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 #17412 from apache/fix-pie-labelLine
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git commit 67afcbd2c8a7d110263fc3e90d5080251fa2ec93 Merge: 800fccaae d5ee24d75 Author: Wenli Zhang AuthorDate: Fri Jul 22 14:19:51 2022 +0800 Merge pull request #17412 from apache/fix-pie-labelLine fix(pie): fix `labelLine` may not be hidden when `minShowLabelRadian` is specified src/chart/pie/labelLayout.ts| 3 +- test/pie-label.html | 120 +++- test/runTest/actions/__meta__.json | 1 + test/runTest/actions/pie-label.json | 1 + 4 files changed, 122 insertions(+), 3 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch master updated (800fccaae -> 67afcbd2c)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git from 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. new 67afcbd2c Merge pull request #17412 from apache/fix-pie-labelLine 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/pie/labelLayout.ts| 3 +- test/pie-label.html | 120 +++- test/runTest/actions/__meta__.json | 1 + test/runTest/actions/pie-label.json | 1 + 4 files changed, 122 insertions(+), 3 deletions(-) create mode 100644 test/runTest/actions/pie-label.json - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch master updated (178ec6fbd -> 800fccaae)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git from 178ec6fbd Merge pull request #17407 from apache/dependabot/npm_and_yarn/terser-5.14.2 new d08a58f35 style: spelling mistakes new c7a8547ba style: spelling mistakes new 6a261fb79 style: spelling mistakes new 800fccaae Merge pull request #17383 from ZXYT/style-spelling-mistakes The 8731 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 | 10 +- src/component/marker/MarkLineView.ts | 10 +- src/component/marker/MarkPointView.ts | 2 +- src/component/marker/markerHelper.ts | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch master updated (8cdcc7daf -> 178ec6fbd)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git from 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 new 178ec6fbd Merge pull request #17407 from apache/dependabot/npm_and_yarn/terser-5.14.2 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 | 174 -- 1 file changed, 143 insertions(+), 31 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 #17407 from apache/dependabot/npm_and_yarn/terser-5.14.2
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git commit 178ec6fbdc7ec596b1d968490651ff47fa3c40be Merge: 8cdcc7daf 28baad87b Author: Wenli Zhang AuthorDate: Fri Jul 22 13:52:19 2022 +0800 Merge pull request #17407 from apache/dependabot/npm_and_yarn/terser-5.14.2 chore(deps-dev): bump terser from 5.3.8 to 5.14.2 package-lock.json | 174 -- 1 file changed, 143 insertions(+), 31 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-examples] 03/03: fix: remove more maps
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch gh-pages in repository https://gitbox.apache.org/repos/asf/echarts-examples.git commit 8fb20912fee145667d4c288baef49fcedd47bf4f Author: Ovilia AuthorDate: Thu Jul 21 17:47:28 2022 +0800 fix: remove more maps --- public/examples/ts/map-china-dataRange.js | 137 - public/examples/ts/map-china.js | 24 --- public/examples/ts/map-labels.js | 173 - public/examples/ts/map-locate.js | 58 public/examples/ts/map-province.js| 105 - public/examples/ts/map-world-dataRange.js | 240 -- public/examples/ts/map-world.js | 213 -- 7 files changed, 950 deletions(-) diff --git a/public/examples/ts/map-china-dataRange.js b/public/examples/ts/map-china-dataRange.js deleted file mode 100644 index 88661118.. --- a/public/examples/ts/map-china-dataRange.js +++ /dev/null @@ -1,137 +0,0 @@ -/* -title: Sales of iphone -category: map -titleCN: iphone销量 -*/ - -function randomData() { - return Math.round(Math.random() * 1000); -} - -option = { - title: { -text: 'iphone销量', -subtext: '纯属虚构', -left: 'center' - }, - tooltip: { -trigger: 'item' - }, - legend: { -orient: 'vertical', -left: 'left', -data: ['iphone3', 'iphone4', 'iphone5'] - }, - visualMap: { -min: 0, -max: 2500, -left: 'left', -top: 'bottom', -text: ['高', '低'], // 文本,默认为数值文本 -calculable: true - }, - toolbox: { -show: true, -orient: 'vertical', -left: 'right', -top: 'center', -feature: { - dataView: { readOnly: false }, - restore: {}, - saveAsImage: {} -} - }, - series: [ -{ - name: 'iphone3', - type: 'map', - mapType: 'china', - roam: false, - label: { -show: true - }, - data: [ -{ name: '北京', value: randomData() }, -{ name: '天津', value: randomData() }, -{ name: '上海', value: randomData() }, -{ name: '重庆', value: randomData() }, -{ name: '河北', value: randomData() }, -{ name: '河南', value: randomData() }, -{ name: '云南', value: randomData() }, -{ name: '辽宁', value: randomData() }, -{ name: '黑龙江', value: randomData() }, -{ name: '湖南', value: randomData() }, -{ name: '安徽', value: randomData() }, -{ name: '山东', value: randomData() }, -{ name: '新疆', value: randomData() }, -{ name: '江苏', value: randomData() }, -{ name: '浙江', value: randomData() }, -{ name: '江西', value: randomData() }, -{ name: '湖北', value: randomData() }, -{ name: '广西', value: randomData() }, -{ name: '甘肃', value: randomData() }, -{ name: '山西', value: randomData() }, -{ name: '内蒙古', value: randomData() }, -{ name: '陕西', value: randomData() }, -{ name: '吉林', value: randomData() }, -{ name: '福建', value: randomData() }, -{ name: '贵州', value: randomData() }, -{ name: '广东', value: randomData() }, -{ name: '青海', value: randomData() }, -{ name: '西藏', value: randomData() }, -{ name: '四川', value: randomData() }, -{ name: '宁夏', value: randomData() }, -{ name: '海南', value: randomData() }, -{ name: '台湾', value: randomData() }, -{ name: '香港', value: randomData() }, -{ name: '澳门', value: randomData() } - ] -}, -{ - name: 'iphone4', - type: 'map', - mapType: 'china', - label: { -show: true - }, - data: [ -{ name: '北京', value: randomData() }, -{ name: '天津', value: randomData() }, -{ name: '上海', value: randomData() }, -{ name: '重庆', value: randomData() }, -{ name: '河北', value: randomData() }, -{ name: '安徽', value: randomData() }, -{ name: '新疆', value: randomData() }, -{ name: '浙江', value: randomData() }, -{ name: '江西', value: randomData() }, -{ name: '山西', value: randomData() }, -{ name: '内蒙古', value: randomData() }, -{ name: '吉林', value: randomData() }, -{ name: '福建', value: randomData() }, -{ name: '广东', value: randomData() }, -{ name: '西藏', value: randomData() }, -{ name: '四川', value: randomData() }, -{ name: '宁夏', value: randomData() }, -{ name: '香港', value: randomData() }, -{ name: '澳门', value: randomData() } - ] -}, -{ - name: 'iphone5', - type: 'map', - mapType: 'china', - label: { -show: true - }, - data: [ -{ name: '北京', value: randomData() }, -{ name: '天津', value: randomData() }, -{ name: '上海', value: randomData() }, -{ name: '广东', value: randomData() }, -{ name: '台湾', value: randomData() }, -{ name: '香港', value: randomData
[echarts-examples] 02/03: fix: remove more maps
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch gh-pages in repository https://gitbox.apache.org/repos/asf/echarts-examples.git commit 01c78aa553f0d3f4d14a1edeaba1bc66dfe2ecfc Author: Ovilia AuthorDate: Thu Jul 21 17:45:45 2022 +0800 fix: remove more maps --- src/data/chart-list-data.js | 77 - 1 file changed, 77 deletions(-) diff --git a/src/data/chart-list-data.js b/src/data/chart-list-data.js index d6e35dd1..9474b0c8 100644 --- a/src/data/chart-list-data.js +++ b/src/data/chart-list-data.js @@ -2498,28 +2498,6 @@ export default [ "titleCN": "Binning on Map", "difficulty": 10 }, - { -"category": [ - "map" -], -"id": "map-china", -"ts": false, -"tags": [], -"title": "Map China", -"titleCN": "Map China", -"difficulty": 10 - }, - { -"category": [ - "map" -], -"id": "map-china-dataRange", -"ts": false, -"tags": [], -"title": "Sales of iphone", -"titleCN": "iphone销量", -"difficulty": 10 - }, { "category": [ "map" @@ -2531,28 +2509,6 @@ export default [ "titleCN": "香港18区人口密度 (2011)", "difficulty": 10 }, - { -"category": [ - "map" -], -"id": "map-labels", -"ts": false, -"tags": [], -"title": "Rich Text Labels on Map", -"titleCN": "地图上的富文本标签", -"difficulty": 10 - }, - { -"category": [ - "map" -], -"id": "map-locate", -"ts": false, -"tags": [], -"title": "Map Locate", -"titleCN": "Map Locate", -"difficulty": 10 - }, { "category": [ "map" @@ -2566,17 +2522,6 @@ export default [ "titleCN": "在地图上绘制多边形", "difficulty": 10 }, - { -"category": [ - "map" -], -"id": "map-province", -"ts": false, -"tags": [], -"title": "Switch among 34 Provinces", -"titleCN": "34 省切换查看", -"difficulty": 10 - }, { "category": [ "map" @@ -2599,28 +2544,6 @@ export default [ "titleCN": "自定义地图投影", "difficulty": 10 }, - { -"category": [ - "map" -], -"id": "map-world", -"ts": false, -"tags": [], -"title": "Map World", -"titleCN": "Map World", -"difficulty": 10 - }, - { -"category": [ - "map" -], -"id": "map-world-dataRange", -"ts": false, -"tags": [], -"title": "World Population (2010)", -"titleCN": "World Population (2010)", -"difficulty": 10 - }, { "category": [ "pictorialBar" - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-examples] 01/03: remove an example containing map
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch gh-pages in repository https://gitbox.apache.org/repos/asf/echarts-examples.git commit dad2b5227f2504b54bf46002e3adbd8112613bc6 Author: Ovilia AuthorDate: Wed Jul 20 16:11:12 2022 +0800 remove an example containing map --- public/examples/ts/map-projection-globe.ts | 119 - src/data/chart-list-data.js| 11 --- 2 files changed, 130 deletions(-) diff --git a/public/examples/ts/map-projection-globe.ts b/public/examples/ts/map-projection-globe.ts deleted file mode 100644 index 12f062e9.. --- a/public/examples/ts/map-projection-globe.ts +++ /dev/null @@ -1,119 +0,0 @@ -/* -title: Map with Orthographic Projection -category: map -titleCN: 正交投影地图 -*/ - -myChart.showLoading(); - -let projection: any; - -$.when( - $.get(ROOT_PATH + '/data/asset/geo/world.json'), - $.getScript('https://fastly.jsdelivr.net/npm/d3-array'), - $.getScript('https://fastly.jsdelivr.net/npm/d3-geo') -).done(function (res) { - myChart.hideLoading(); - // Add graticule - const graticuleLineStrings = []; - for (let lat = -80; lat <= 80; lat += 10) { -graticuleLineStrings.push(createLineString([-180, lat], [180, lat])); - } - for (let lng = -180; lng <= 180; lng += 10) { -graticuleLineStrings.push(createLineString([lng, -80], [lng, 80])); - } - - res[0].features.unshift({ -geometry: { - type: 'MultiLineString', - coordinates: graticuleLineStrings -}, -properties: { - name: 'graticule' -} - }); - - echarts.registerMap('world', res[0]); - - projection = d3.geoOrthographic(); - - option = { -geo: { - map: 'world', - - projection: { -project: (pt) => projection(pt), -unproject: (pt) => projection.invert(pt), -stream: projection.stream - }, - - itemStyle: { -borderColor: '#333', -borderWidth: 1, -borderJoin: 'round', -color: '#000' - }, - - emphasis: { -label: { - show: false -}, - -itemStyle: { - color: 'skyblue' -} - }, - - regions: [ -{ - name: 'graticule', - itemStyle: { -borderColor: '#bbb' - }, - emphasis: { -disabled: true - } -} - ] -} - }; - - myChart.setOption(option); -}); - -app.config = { - rotateX: 0, - rotateY: 0, - - onChange() { -projection && projection.rotate([app.config.rotateX, app.config.rotateY]); -myChart.setOption({ - geo: {} -}); - } -}; - -app.configParameters = { - rotateX: { -min: -180, -max: 180 - }, - rotateY: { -min: -80, -max: 80 - } -}; - -function createLineString(start: number[], end: number[]) { - const dx = end[0] - start[0]; - const dy = end[1] - start[1]; - const segs = 50; - const stepX = dx / segs; - const stepY = dy / segs; - const points = []; - // TODO needs adaptive sampling on the -180 / 180 of azimuthal projections. - for (let i = 0; i <= segs; i++) { -points.push([start[0] + i * stepX, start[1] + i * stepY]); - } - return points; -} diff --git a/src/data/chart-list-data.js b/src/data/chart-list-data.js index 74198d17..d6e35dd1 100644 --- a/src/data/chart-list-data.js +++ b/src/data/chart-list-data.js @@ -2566,17 +2566,6 @@ export default [ "titleCN": "在地图上绘制多边形", "difficulty": 10 }, - { -"category": [ - "map" -], -"id": "map-projection-globe", -"ts": true, -"tags": [], -"title": "Map with Orthographic Projection", -"titleCN": "正交投影地图", -"difficulty": 10 - }, { "category": [ "map" - 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 (c7d26c86 -> 8fb20912)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch gh-pages in repository https://gitbox.apache.org/repos/asf/echarts-examples.git from c7d26c86 fix: disable esModule for file loader new dad2b522 remove an example containing map new 01c78aa5 fix: remove more maps new 8fb20912 fix: remove more maps The 3 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: public/examples/ts/map-china-dataRange.js | 137 public/examples/ts/map-china.js| 24 --- public/examples/ts/map-labels.js | 173 - public/examples/ts/map-locate.js | 58 --- public/examples/ts/map-projection-globe.ts | 119 -- public/examples/ts/map-province.js | 105 - public/examples/ts/map-world-dataRange.js | 240 - public/examples/ts/map-world.js| 213 - src/data/chart-list-data.js| 88 --- 9 files changed, 1157 deletions(-) delete mode 100644 public/examples/ts/map-china-dataRange.js delete mode 100644 public/examples/ts/map-china.js delete mode 100644 public/examples/ts/map-labels.js delete mode 100644 public/examples/ts/map-locate.js delete mode 100644 public/examples/ts/map-projection-globe.ts delete mode 100644 public/examples/ts/map-province.js delete mode 100644 public/examples/ts/map-world-dataRange.js delete mode 100644 public/examples/ts/map-world.js - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-examples] branch fix-map updated (866df860 -> 04349afe)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch fix-map in repository https://gitbox.apache.org/repos/asf/echarts-examples.git from 866df860 fix: remove more maps add 04349afe fix: remove more maps No new revisions were added by this update. Summary of changes: public/examples/ts/map-china-dataRange.js | 137 - public/examples/ts/map-china.js | 24 --- public/examples/ts/map-labels.js | 173 - public/examples/ts/map-locate.js | 58 public/examples/ts/map-province.js| 105 - public/examples/ts/map-world-dataRange.js | 240 -- public/examples/ts/map-world.js | 213 -- 7 files changed, 950 deletions(-) delete mode 100644 public/examples/ts/map-china-dataRange.js delete mode 100644 public/examples/ts/map-china.js delete mode 100644 public/examples/ts/map-labels.js delete mode 100644 public/examples/ts/map-locate.js delete mode 100644 public/examples/ts/map-province.js delete mode 100644 public/examples/ts/map-world-dataRange.js delete mode 100644 public/examples/ts/map-world.js - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-examples] branch fix-map updated (b9c388de -> 866df860)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch fix-map in repository https://gitbox.apache.org/repos/asf/echarts-examples.git from b9c388de remove an example containing map add 866df860 fix: remove more maps No new revisions were added by this update. Summary of changes: src/data/chart-list-data.js | 77 - 1 file changed, 77 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-examples] branch fix-map created (now b9c388de)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch fix-map in repository https://gitbox.apache.org/repos/asf/echarts-examples.git at b9c388de remove an example containing map This branch includes the following new commits: new b9c388de remove an example containing map 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-examples] 01/01: remove an example containing map
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch fix-map in repository https://gitbox.apache.org/repos/asf/echarts-examples.git commit b9c388deeb287d7de428a9a187de5cda8073d8fe Author: Ovilia AuthorDate: Wed Jul 20 16:11:12 2022 +0800 remove an example containing map --- public/examples/ts/map-projection-globe.ts | 119 - src/data/chart-list-data.js| 11 --- 2 files changed, 130 deletions(-) diff --git a/public/examples/ts/map-projection-globe.ts b/public/examples/ts/map-projection-globe.ts deleted file mode 100644 index 12f062e9.. --- a/public/examples/ts/map-projection-globe.ts +++ /dev/null @@ -1,119 +0,0 @@ -/* -title: Map with Orthographic Projection -category: map -titleCN: 正交投影地图 -*/ - -myChart.showLoading(); - -let projection: any; - -$.when( - $.get(ROOT_PATH + '/data/asset/geo/world.json'), - $.getScript('https://fastly.jsdelivr.net/npm/d3-array'), - $.getScript('https://fastly.jsdelivr.net/npm/d3-geo') -).done(function (res) { - myChart.hideLoading(); - // Add graticule - const graticuleLineStrings = []; - for (let lat = -80; lat <= 80; lat += 10) { -graticuleLineStrings.push(createLineString([-180, lat], [180, lat])); - } - for (let lng = -180; lng <= 180; lng += 10) { -graticuleLineStrings.push(createLineString([lng, -80], [lng, 80])); - } - - res[0].features.unshift({ -geometry: { - type: 'MultiLineString', - coordinates: graticuleLineStrings -}, -properties: { - name: 'graticule' -} - }); - - echarts.registerMap('world', res[0]); - - projection = d3.geoOrthographic(); - - option = { -geo: { - map: 'world', - - projection: { -project: (pt) => projection(pt), -unproject: (pt) => projection.invert(pt), -stream: projection.stream - }, - - itemStyle: { -borderColor: '#333', -borderWidth: 1, -borderJoin: 'round', -color: '#000' - }, - - emphasis: { -label: { - show: false -}, - -itemStyle: { - color: 'skyblue' -} - }, - - regions: [ -{ - name: 'graticule', - itemStyle: { -borderColor: '#bbb' - }, - emphasis: { -disabled: true - } -} - ] -} - }; - - myChart.setOption(option); -}); - -app.config = { - rotateX: 0, - rotateY: 0, - - onChange() { -projection && projection.rotate([app.config.rotateX, app.config.rotateY]); -myChart.setOption({ - geo: {} -}); - } -}; - -app.configParameters = { - rotateX: { -min: -180, -max: 180 - }, - rotateY: { -min: -80, -max: 80 - } -}; - -function createLineString(start: number[], end: number[]) { - const dx = end[0] - start[0]; - const dy = end[1] - start[1]; - const segs = 50; - const stepX = dx / segs; - const stepY = dy / segs; - const points = []; - // TODO needs adaptive sampling on the -180 / 180 of azimuthal projections. - for (let i = 0; i <= segs; i++) { -points.push([start[0] + i * stepX, start[1] + i * stepY]); - } - return points; -} diff --git a/src/data/chart-list-data.js b/src/data/chart-list-data.js index 74198d17..d6e35dd1 100644 --- a/src/data/chart-list-data.js +++ b/src/data/chart-list-data.js @@ -2566,17 +2566,6 @@ export default [ "titleCN": "在地图上绘制多边形", "difficulty": 10 }, - { -"category": [ - "map" -], -"id": "map-projection-globe", -"ts": true, -"tags": [], -"title": "Map with Orthographic Projection", -"titleCN": "正交投影地图", -"difficulty": 10 - }, { "category": [ "map" - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch fix-17333 updated (fc43e0ac1 -> 44e650e3b)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch fix-17333 in repository https://gitbox.apache.org/repos/asf/echarts.git from fc43e0ac1 test(custom): add a test case add 44e650e3b fix(custom): fix the case for element after the null child No new revisions were added by this update. Summary of changes: src/chart/custom/CustomView.ts | 11 +- test/custom-update.html| 47 +++--- 2 files changed, 50 insertions(+), 8 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch feat-coarse-pointer updated (c11463a85 -> 343b13a49)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch feat-coarse-pointer in repository https://gitbox.apache.org/repos/asf/echarts.git from c11463a85 feat: rename variables add 343b13a49 test: add coarse-pointer in test env No new revisions were added by this update. Summary of changes: src/core/echarts.ts | 5 +- test/{pointer-size.html => coarse-pointer.html} | 26 +++- test/lib/caseFrame.js | 11 ++ test/lib/config.js | 3 + 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 | 6 +- 12 files changed, 147 insertions(+), 86 deletions(-) rename test/{pointer-size.html => coarse-pointer.html} (84%) 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 feat-coarse-pointer updated (9bdf394b9 -> c11463a85)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch feat-coarse-pointer in repository https://gitbox.apache.org/repos/asf/echarts.git discard 9bdf394b9 test: include coarse pointer option in test environment discard 9630ff826 Merge branch 'master' into feat-coarse-pointer omit add11459e Merge pull request #17346 from apache/fix/visualMap-label-indicator omit 2f29323e1 fix(visualMap): fix wrong type of ecData. omit 71bdec63c chore: fix some typos omit 131774302 fix(visualMap): fix the indicator doesn't show when hovering on map label. omit 2f13981a7 Merge pull request #17329 from apache/fix/axis-line-symbol omit 11f488c07 fix(axis): fix axis symbol is not reverted when axis is reverse. omit 2d7d59c0a Merge pull request #17317 from apache/fix-stale-bot omit 8951f4199 chore: upgrade stale action to v5 omit 64a86ba3e Merge pull request #17308 from apache/fix-custom omit 70b10e198 fix(custom): fix potential NPE when applying leave transition. omit 89d57f21b Merge pull request #17304 from apache/stale-close-reason omit 731362be0 chore(workflow): close stale issues as not planned rather than completed. [ci skip] omit bafb0f9a8 feat(treemap.breadcrumb): add `emphasis` state (#17242) omit 26fbb7565 Merge pull request #17247 from apache/fix/tmp-symbol-z omit 6212121e9 fix(line): set default z/zlevel for temporary symbol to avoid warnings. omit 0f9f16c7f Merge pull request #17245 from apache/fix-publish-ci-on-fork omit f950face5 chore: check owner on specific workflows omit aeca584e7 chore: fix publish ci on fork omit f4e786429 Merge pull request #17244 from Amice13/fix-17243 omit ae66fe6de feat(i18n): add Ukrainian translation. close #17243 omit 18c333706 Merge pull request #17218 from dmzc/5.3.2 omit 821b24ad6 fix:improve interface SunburstSeriesOption and TreemapSeriesOption omit 11a9247e7 Merge pull request #17213 from apache/release omit 5d813ddcc Merge pull request #17201 from apache/fix-pr omit 905b32405 chore: update pr template to improve doc control omit 1047e897b Merge pull request #17193 from kxxoling/fix-typo omit 032e73835 fix(typo): Trasition -> Transition omit 86eba716f Merge pull request #17190 from apache/release-dev omit 6dfe96d0c chore: update zrender version in the source code omit 21f220f60 chore: release 5.3.3 omit 3a5edc2a2 test: change cdn to unpkg omit 1a584e45d Merge pull request #17182 from apache/master omit 0c7291fb5 Merge pull request #17181 from apache/test-cdn omit c82eb4157 test: update visual test cdn to be unpkg omit e2d26a298 Merge pull request #17172 from susiwen8/fix-comment omit 734cfbf46 chore: remove some unintentional comment omit 4c167a3a4 Merge pull request #17155 from dmzc/fix-pictorialbar-dts omit 3ece5c065 fix(tree): fix tree unexpected expand (#16548) omit ed259699d fix:improve PictorialBarSeriesOption omit 79fdbe4e7 Merge pull request #16971 from apache/fix-markLine-label-tooltip omit 7a8808d63 Merge pull request #17150 from apache/fix/geo omit 16016881a fix(geo): add back two missing arguments to `projectedToPoint` called in Geo `dataToPoint` function. omit 1a8002b0a Merge pull request #17086 from preset-io/villebro/negative-stack omit 8e3250fef remove redundant spaces omit d805ff25a Merge pull request #17094 from tyn1998/fix-17088 omit d7eeae11a Update CONTRIBUTING.md omit 817d3bf13 docs: remove a broken link and update info in CONTRIBUTING.md. close #17088 omit 6d69ccd04 add explicit default omit edeff8b1d feat: add new stacking strategies omit 99b0182c4 Merge pull request #16850 from benlongo/fix_prepareCustoms_for_single_axis omit 9b670a075 Fix typo: pathes -> paths omit d464d8c3f Fix prepareCustoms key for Single axis. omit 99b012676 Add test for custom singleAxis. omit 6ee5f7076 fix(time): Quarters split the year into 4 quarters not 3. close #17057 (#17073) omit 6c793aad3 Merge pull request #17064 from Fritzbox2000/master omit dffa1ef39 {yy} should be padded to 2 digits omit 5cf53e24a Merge pull request #17007 from apache/fix/graphic omit 84b957855 Merge pull request #17009 from susiwen8/tree-relative omit a44c7f5f1 feat(tree): `tree` focus supports `relative` omit ffc742918 fix(graphic): 1) fix some options may be unexpectedly reset when calling setOption. 2) fix group children can't be updated when calling setOption with no `type` option. omit 6d45e2a9e feat(piecewise): `selecedtMode` support `boolean` (#16972) omit c54953c07 fix(markLine): fix markLine label shows wrong tooltip content. omit bc641254a feat(View): `View` center supports `string` (#16904) omit b4250f8ae Merge pull request #16966 from apache/fix-editor-link omit 5c53e9d84 chore: fix broken external editor links. omit b98df5c45 Merge pull request #1695
[echarts] branch feat-coarse-pointer updated (c11463a85 -> 9bdf394b9)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch feat-coarse-pointer in repository https://gitbox.apache.org/repos/asf/echarts.git from c11463a85 feat: rename variables add 62ab37959 fix: tooltip content won't change with axis extent when triggerOn set to 'click' add 1258fa715 fix: use short phrase 'triggerOn' instead add f783cd8af Merge pull request #16939 from jiawulin001/issue#16930 add 8e6e8bb4a fix(tree): radial tree with single root doesn't work add 027d64c6a fix(tree): remove unused html add b98df5c45 Merge pull request #16950 from fuchunhui/master add 5c53e9d84 chore: fix broken external editor links. add b4250f8ae Merge pull request #16966 from apache/fix-editor-link add bc641254a feat(View): `View` center supports `string` (#16904) add 6d45e2a9e feat(piecewise): `selecedtMode` support `boolean` (#16972) add a44c7f5f1 feat(tree): `tree` focus supports `relative` add 84b957855 Merge pull request #17009 from susiwen8/tree-relative add ffc742918 fix(graphic): 1) fix some options may be unexpectedly reset when calling setOption. 2) fix group children can't be updated when calling setOption with no `type` option. add 5cf53e24a Merge pull request #17007 from apache/fix/graphic add dffa1ef39 {yy} should be padded to 2 digits add 6c793aad3 Merge pull request #17064 from Fritzbox2000/master add 6ee5f7076 fix(time): Quarters split the year into 4 quarters not 3. close #17057 (#17073) add 99b012676 Add test for custom singleAxis. add d464d8c3f Fix prepareCustoms key for Single axis. add 9b670a075 Fix typo: pathes -> paths add 99b0182c4 Merge pull request #16850 from benlongo/fix_prepareCustoms_for_single_axis add 817d3bf13 docs: remove a broken link and update info in CONTRIBUTING.md. close #17088 add d7eeae11a Update CONTRIBUTING.md add d805ff25a Merge pull request #17094 from tyn1998/fix-17088 add edeff8b1d feat: add new stacking strategies add 6d69ccd04 add explicit default add 8e3250fef remove redundant spaces add 1a8002b0a Merge pull request #17086 from preset-io/villebro/negative-stack add 16016881a fix(geo): add back two missing arguments to `projectedToPoint` called in Geo `dataToPoint` function. add 7a8808d63 Merge pull request #17150 from apache/fix/geo add c54953c07 fix(markLine): fix markLine label shows wrong tooltip content. add 79fdbe4e7 Merge pull request #16971 from apache/fix-markLine-label-tooltip add 3ece5c065 fix(tree): fix tree unexpected expand (#16548) add ed259699d fix:improve PictorialBarSeriesOption add 4c167a3a4 Merge pull request #17155 from dmzc/fix-pictorialbar-dts add 734cfbf46 chore: remove some unintentional comment add e2d26a298 Merge pull request #17172 from susiwen8/fix-comment add c82eb4157 test: update visual test cdn to be unpkg add 0c7291fb5 Merge pull request #17181 from apache/test-cdn 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 1a584e45d Merge pull request #17182 from apache/master add 3a5edc2a2 test: change cdn to unpkg add 21f220f60 chore: release 5.3.3 add 6dfe96d0c chore: update zrender version in the source code add 86eba716f Merge pull request #17190 from apache/release-dev 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 131
[echarts] branch fix-17333 updated (ee3b8357c -> fc43e0ac1)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch fix-17333 in repository https://gitbox.apache.org/repos/asf/echarts.git from ee3b8357c test(custom): add a test case with {} that should preserve child add fc43e0ac1 test(custom): add a test case No new revisions were added by this update. Summary of changes: test/custom-update.html | 242 +--- 1 file changed, 125 insertions(+), 117 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-doc] 01/01: doc: update instruction for custom group being null apache/echarts#17349
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch fix-custom-merge in repository https://gitbox.apache.org/repos/asf/echarts-doc.git commit 687b006aa34a046bbdfbfd30365d519cd00c27a9 Author: Ovilia AuthorDate: Tue Jul 12 17:07:26 2022 +0800 doc: update instruction for custom group being null apache/echarts#17349 --- en/option/partial/zr-graphic.md | 5 - zh/option/partial/zr-graphic.md | 5 - 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/en/option/partial/zr-graphic.md b/en/option/partial/zr-graphic.md index d54b71b3..5b993e5c 100644 --- a/en/option/partial/zr-graphic.md +++ b/en/option/partial/zr-graphic.md @@ -5,6 +5,10 @@ `group` is the only type that can contain children, so that a group of elements can be positioned and transformed together. +{{ if: ${usageType} === 'customSeries' }} +Note that if any of its child is `null`, it means the child no longer exists. So if a group contains an element that is set to be `null` in a future `setOption` call, it should remove the previous element at the same index. If a child should not change, it should be `{}` in the new option. +{{ /if }} + {{ use: partial-graphic-cpt-common-props( type = 'group', prefix = ${prefix}, @@ -2046,4 +2050,3 @@ Although the points will be interpolated, the consequent animation will be like ``` See this example [example](${galleryEditorPath}custom-spiral-race=1=1). - diff --git a/zh/option/partial/zr-graphic.md b/zh/option/partial/zr-graphic.md index a0fce1a0..5d0cf927 100644 --- a/zh/option/partial/zr-graphic.md +++ b/zh/option/partial/zr-graphic.md @@ -5,6 +5,10 @@ group 是唯一的可以有子节点的容器。group 可以用来整体定位一组图形元素。 +{{ if: ${usageType} === 'customSeries' }} +注意,如果其任意子节点是 `null`,这表示该子节点不再存在。所以,如果再次调用 `setOption` 时,一个子节点被设为 `null`,这意味着它之前对应序号的元素会被删除。如果希望一个子节点保持不变,应在新的配置项中使用 `{}` 表示。 +{{ /if }} + {{ use: partial-graphic-cpt-common-props( type = 'group', prefix = ${prefix}, @@ -2017,4 +2021,3 @@ type TransformProp = ``` 也参见这个 [例子](${galleryEditorPath}custom-spiral-race=1=1)。 - - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-doc] branch fix-custom-merge created (now 687b006a)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch fix-custom-merge in repository https://gitbox.apache.org/repos/asf/echarts-doc.git at 687b006a doc: update instruction for custom group being null apache/echarts#17349 This branch includes the following new commits: new 687b006a doc: update instruction for custom group being null apache/echarts#17349 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-doc] 01/01: Merge pull request #269 from apache/master
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch dev in repository https://gitbox.apache.org/repos/asf/echarts-doc.git commit 5aa5e5c8ba4d6543298e17128c282813259dcb5e Merge: 039a511a d9f99de4 Author: Wenli Zhang AuthorDate: Tue Jul 12 16:54:54 2022 +0800 Merge pull request #269 from apache/master chore: merge master to dev en/option/component/graphic.md | 4 +-- en/option/component/legend.md | 2 +- en/option/partial/axisPointer-common.md | 2 +- en/option/partial/icon.md | 2 +- en/option/series/pictorialBar.md| 2 +- en/option/series/pie.md | 6 + en/option/series/sunburst.md| 44 +++-- en/tutorial/renderer.md | 2 +- zh/option/component/graphic.md | 4 +-- zh/option/component/legend.md | 2 +- zh/option/partial/icon.md | 2 +- zh/option/series/pictorialBar.md| 2 +- zh/option/series/pie.md | 6 + zh/option/series/sunburst.md| 22 ++--- 14 files changed, 62 insertions(+), 40 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-doc] branch dev updated (039a511a -> 5aa5e5c8)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch dev in repository https://gitbox.apache.org/repos/asf/echarts-doc.git from 039a511a Merge pull request #261 from apache/dev add 217aff5f change fake example url add a24e60c8 fix: typo of "initial" add 4ec97b31 Merge pull request #264 from jiawulin001/typo-'initial' add fb2782c6 fix(legend): fix a typo of `inherit`, resolves apache/echarts#17248 add e260b2f2 fix(pie): add missing option `percentPrecision`, resolves apache/echarts#15167 add ffe3e0b5 fix: series-sunburst.nodeClick link target. add c3028f7d fix(sunburst): fix worng link to `series-sunburst.nodeClick` add 49966f45 fix(sunburst): fix wrong link to series-sunburst.nodeClick add 732a24a2 Merge pull request #268 from kylezhang/master add d4241766 fix(sunburst): complete the en document of the sunburst series. add d9f99de4 fix(sunburst): fix option level new 5aa5e5c8 Merge pull request #269 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: en/option/component/graphic.md | 4 +-- en/option/component/legend.md | 2 +- en/option/partial/axisPointer-common.md | 2 +- en/option/partial/icon.md | 2 +- en/option/series/pictorialBar.md| 2 +- en/option/series/pie.md | 6 + en/option/series/sunburst.md| 44 +++-- en/tutorial/renderer.md | 2 +- zh/option/component/graphic.md | 4 +-- zh/option/component/legend.md | 2 +- zh/option/partial/icon.md | 2 +- zh/option/series/pictorialBar.md| 2 +- zh/option/series/pie.md | 6 + zh/option/series/sunburst.md| 22 ++--- 14 files changed, 62 insertions(+), 40 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-doc] branch dev updated (71bdc522 -> 039a511a)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch dev in repository https://gitbox.apache.org/repos/asf/echarts-doc.git from 71bdc522 feat: add chinese changelog add 039a511a Merge pull request #261 from apache/dev No new revisions were added by this update. Summary of changes: - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-doc] branch next updated (e19d2517 -> 039a511a)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch next in repository https://gitbox.apache.org/repos/asf/echarts-doc.git from e19d2517 fix links add 5826df3d fix: dimension names jump error 404, sourceHeader add auto params(#214) add 83771667 Merge pull request #215 from lefex/master add 5e6ba8bb fix: add color desc for en add 79f37f60 fix: change texture to pattern add fea43177 Merge pull request #216 from apache/fix-gradient add 4168741b doc: series-gauge.axisLine.lineStyle.color annotation color[i][0] add ebac5b63 doc: remake note code case with comments from PR217 add 32992975 doc: update gauge lineStyle color explanation add 3b26614a add emphasis.disabled, select.disabled. selectedMode: series add 1398575e fix some typo add 808d76fc optimize graphic doc add cd5cf7de use ts lang in doc add 69658712 add valueFormatter doc. apache/echarts#16332 add d7f0fce5 add alignTicks doc apache/echarts#16300 add 5cf8e4d5 add geo projection apache/echarts#16364 add d06c5d6d add keyframeAnimation and other animation docs. apache/echarts#16225 add f9535356 Merge branch 'dev' add 06e80ab4 fix(dataset): fix typos and add missing value types for `sourceHeader`. add 7cd257ce fix(dataset): tweak the description of `sourceHeader`. add 142aa44b tweak pie & sunburst border-radius documents. add 4646aba5 Merge branch 'master' of https://github.com/apache/echarts-doc add 012f60ec add 5.3.0 changelog add 3e10a393 tweak 5.3 changelog add e866d58f remove wrong change add 211f5c7f update 5.3.0 changelog add d7e7180f fix a typo in change log. add c570ec3a docs: fix typo in option and option-gl docs add 7919f48f Merge pull request #219 from vamsikri-hash/fix-typo add 3147dcad add ssr api add be9f940f add setPlatformAPI add ee1202cb update 5.3.0 time add 32fb1009 add version tips for `showEmptyCircle`, `emptyCircleStyle`, emphasis.disabled, select.disabled, selectedMode: 'series'. add 8d79f362 add missing new initial parameters to en document and add version tips. add 5e21c6ad add version tip for tooltip `valueFormatter`. add fcad2707 Fix ture -> true add 09f7dea8 Update visual-map-continuous.md add f33b980f Merge pull request #221 from ramonmedeiros/patch-1 add 7b01e5cc fix unexpected language for the link to SVG `viewBox` add da90dd1e fix broken links to `renderToSVGString` API. add 35178d95 chore: upgrade workflow dependencies. add e6c8652f fix the return value of convertToPixel and convertFromPixel from string to number add c710c0a6 Merge pull request #220 from tudou330121/master add 758f4d80 fix broken link to the line-markline example caused by f4973320b9901a2cbc24abc318c2276065b4f350, resolves apache/echarts#16499. add 79916335 doc: quote mark in series.bar add ba279ab5 doc: add params in series.bar.mark add 713922d0 Merge pull request #218 from Atlas-lili/master add 1b8dc8e3 fix(graphic): remove unsupported options from graphic `group`. (apache/echarts#16513) add 6b2d73d2 Merge pull request #223 from apache/fix-graphic-group add ce1b4ea6 feat(series): heatmap itemStyle.borderRadius add 986a7561 feat(series): adjust params position about heatmap.itemStyle.borderRadius add 7169d68a Merge pull request #222 from Rain120/doc/heatmap-borderRadius add 21937709 fix(graphic): add missing value type for `draggable`, resolves apache/echarts#16529. add f7c7162d Merge pull request #224 from apache/fix-draggable-type add 3808073c Update toolbox.md icon add ca9bb754 Merge pull request #225 from Nurech/patch-1 add b8efbfd0 Update axis-common.md spelling add 5888dd9b Merge pull request #226 from Nurech/patch-2 add 00b494e5 fix broken link in example code. add ad6624a9 docs(datazoom-slider): add `width` & `height` option doc for dataZoom-slider add e2819920 docs: update opts order & more desc add 26329389 Merge pull request #198 from kongmoumou/doc-dataZoom-slider-size add 3dbdaee5 doc: changelog of 5.3.1 add 54211be6 update changelog add 28c59d86 Merge pull request #227 from apache/dev add ec038ebd fix(graph): add `scaleLimit` for `graph` add 7760676f Merge pull request #228 from apache/scaleLimit add ecbe8faf optimize doc style add e0e37776 fix: changelog version add 09bbf84c fix(tree): add `tree.data.collapsed` (#229) add 301f2158 add missing `darkMode` option for en doc. add 2749c252 fix default value of toolbox `itemGap` add e6489f05 fix: Update ch/visual-map-piecewise.md add 0c2a981b Merge pull request #231 from jiawulin001/eChIssue#16706 add 1c16a7e9 Update text-style.md add 8d998509 Merge pull request #232 from mpolverini/patch-1 add 36d99f5f feat(scatter.scale): add `num
[echarts] branch fix-17333 updated (bc4ee6c95 -> ee3b8357c)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch fix-17333 in repository https://gitbox.apache.org/repos/asf/echarts.git from 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 No new revisions were added by this update. Summary of changes: src/chart/custom/CustomView.ts | 40 - test/runTest/actions/__meta__.json | 2 +- test/runTest/actions/custom-update.json | 2 +- 3 files changed, 31 insertions(+), 13 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] 01/01: fix(custom): fix elements may not be removed after updates #17333
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch fix-17333 in repository https://gitbox.apache.org/repos/asf/echarts.git commit bc4ee6c952ca25ab48a6b72545300d368535ed33 Author: Ovilia AuthorDate: Mon Jul 11 17:29:40 2022 +0800 fix(custom): fix elements may not be removed after updates #17333 --- src/chart/custom/CustomView.ts | 23 ++-- test/custom-update.html | 181 test/runTest/actions/__meta__.json | 1 + test/runTest/actions/custom-update.json | 1 + 4 files changed, 198 insertions(+), 8 deletions(-) diff --git a/src/chart/custom/CustomView.ts b/src/chart/custom/CustomView.ts index 156807826..b415e391a 100644 --- a/src/chart/custom/CustomView.ts +++ b/src/chart/custom/CustomView.ts @@ -1316,14 +1316,21 @@ function mergeChildren( // might be better performance. let index = 0; for (; index < newLen; index++) { -newChildren[index] && doCreateOrUpdateEl( -api, -el.childAt(index), -dataIndex, -newChildren[index] as CustomElementOption, -seriesModel, -el -); +const newChild = newChildren[index]; +if (newChild) { +doCreateOrUpdateEl( +api, +el.childAt(index), +dataIndex, +newChild as CustomElementOption, +seriesModel, +el +); +} +else { +// The element is being null after updating, remove the old element +el.remove(el.childAt(index)); +} } for (let i = el.childCount() - 1; i >= index; i--) { // Do not support leave elements that are not mentioned in the latest diff --git a/test/custom-update.html b/test/custom-update.html new file mode 100644 index 0..ca91a3cc9 --- /dev/null +++ b/test/custom-update.html @@ -0,0 +1,181 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +require([ +'echarts', +// 'map/js/china', +// './data/nutrients.json' +], function (echarts) { +var option; +var cellSize = [50, 51]; +var isFirst = true; + +option = { +calendar: [ +{ +orient: 'vertical', +cellSize: cellSize, +yearLabel: { +show: false +}, +monthLabel: { +show: false +}, +range: ['2022-1'] +} +], +series: [ +{ +type: 'custom', +universalTransition: { +enabled: false +}, +name: 'a', +coordinateSystem: 'calendar', +animation: 0, +data: [ +['2022-01-16', 'e', false] +], +renderItem: (params, api) => { +const date = api.value(0); +const cellPoint = api.coord(date); +const xPos = cellPoint[0] - cellSize[0] / 2; +const yPos = cellPoint[1] - cellSize[1] / 2; +const name = api.value(1); +const cellWidth = params.coordSys.cellWidth; +const position = [xPos, yPos]; +const rect = { +type: 'rect', +shape: { +x: 0, +y: 0, +width: cellWidth, +height: 15 +}, +position, +style: { +fill: isFirst ? '#eee' : '#6ee' +}, +textContent: { +style: { +text: name, +fill: '#888', +overflow: 'truncate', +width: cellWidth, +height: 13, +y: 1 +} +}, +textConfig: { +position: 'insideLeft', +distance: 2 +} +}; + +const borderLeft = api.value(2) +
[echarts] branch fix-17333 created (now bc4ee6c95)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch fix-17333 in repository https://gitbox.apache.org/repos/asf/echarts.git at bc4ee6c95 fix(custom): fix elements may not be removed after updates #17333 This branch includes the following new commits: new bc4ee6c95 fix(custom): fix elements may not be removed after updates #17333 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-www] branch master updated: add PMC member
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-www.git The following commit(s) were added to refs/heads/master by this push: new b5c0cdce add PMC member new 04e22a36 Merge pull request #35 from jiawulin001/master b5c0cdce is described below commit b5c0cdce6064e72f46d4b81bca409dbc4b3b13ba Author: jiawulin001 AuthorDate: Mon Jul 11 10:40:25 2022 +0800 add PMC member --- _jade/en/committers.jade | 6 ++ _jade/zh/committers.jade | 6 ++ "images/people/\344\275\225\346\230\212.jpg" | Bin 0 -> 25539 bytes 3 files changed, 12 insertions(+) diff --git a/_jade/en/committers.jade b/_jade/en/committers.jade index 605899f3..bc23d210 100644 --- a/_jade/en/committers.jade +++ b/_jade/en/committers.jade @@ -114,6 +114,12 @@ block content h5.about-name Houjin Huang .about-desc GSX .about-desc Beijing, China +.col-md-3.col-sm-4.col-xs-6 +.about-person +a(href='https://github.com/jiawulin001', target='_blank') + img(src='#{cdnPayRoot}/#{ecWWWLang}/images/people/何昊.jpg?_v_=#{cdnPayVersion}') +h5.about-name Hao He +.about-desc Shenzhen, China h4.group.committer Committers .row diff --git a/_jade/zh/committers.jade b/_jade/zh/committers.jade index 11023d92..36762987 100644 --- a/_jade/zh/committers.jade +++ b/_jade/zh/committers.jade @@ -111,6 +111,12 @@ block content h5.about-name 黄后锦 .about-desc 跟谁学 .about-desc 中国 · 北京 +.col-md-3.col-sm-4.col-xs-6 +.about-person +a(href='https://github.com/jiawulin001', target='_blank') + img(src='#{cdnPayRoot}/#{ecWWWLang}/images/people/何昊.jpg?_v_=#{cdnPayVersion}') +h5.about-name 何昊 +.about-desc 中国 · 深圳 h4.group.committer Committers .row diff --git "a/images/people/\344\275\225\346\230\212.jpg" "b/images/people/\344\275\225\346\230\212.jpg" new file mode 100644 index ..dab2cc79 Binary files /dev/null and "b/images/people/\344\275\225\346\230\212.jpg" differ - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch fix-13154 updated (c885e6503 -> 4bf7f4d56)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch fix-13154 in repository https://gitbox.apache.org/repos/asf/echarts.git from c885e6503 fix(log): fix log axis breaks a single data whose log value is negative #13154 add 4bf7f4d56 fix(log): cache base variable No new revisions were added by this update. Summary of changes: src/scale/Log.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] 01/01: fix(log): fix log axis breaks a single data whose log value is negative #13154
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch fix-13154 in repository https://gitbox.apache.org/repos/asf/echarts.git commit c885e65033b45ced14536b61be8265d1a842f8a2 Author: Ovilia AuthorDate: Tue Jul 5 16:46:52 2022 +0800 fix(log): fix log axis breaks a single data whose log value is negative #13154 --- src/scale/Interval.ts | 3 ++- src/scale/Log.ts | 5 +++-- test/logScale.html| 33 - 3 files changed, 37 insertions(+), 4 deletions(-) diff --git a/src/scale/Interval.ts b/src/scale/Interval.ts index 1f4a7f98e..866051dcf 100644 --- a/src/scale/Interval.ts +++ b/src/scale/Interval.ts @@ -250,7 +250,8 @@ class IntervalScale = Dictionary> e if (extent[0] === extent[1]) { if (extent[0] !== 0) { // Expand extent -const expandSize = extent[0]; +// Note that extents can be both negative. See #13154 +const expandSize = Math.abs(extent[0]); // In the fowllowing case // Axis has been fixed max 100 // Plus data are all 100 and axis extent are [100, 100]. diff --git a/src/scale/Log.ts b/src/scale/Log.ts index 41586e877..6354e9eed 100644 --- a/src/scale/Log.ts +++ b/src/scale/Log.ts @@ -86,8 +86,9 @@ class LogScale extends Scale { setExtent(start: number, end: number): void { const base = this.base; -start = mathLog(start) / mathLog(base); -end = mathLog(end) / mathLog(base); +// log(-Infinity) is NaN, so safe guard here +start = mathLog(Math.max(0, start)) / mathLog(base); +end = mathLog(Math.max(0, end)) / mathLog(base); intervalScaleProto.setExtent.call(this, start, end); } diff --git a/test/logScale.html b/test/logScale.html index e91507ac1..def5bfdfd 100644 --- a/test/logScale.html +++ b/test/logScale.html @@ -26,12 +26,13 @@ under the License. -html, body, #main { +html, body, #main, #main1 { width: 100%; height: 100%; } + require([ @@ -82,5 +83,35 @@ under the License. }); + + +require([ +'echarts' +], function (echarts) { +var chart = echarts.init(document.getElementById('main1')); +// See #13154 +chart.setOption({ +xAxis: { +type: 'value', +}, +yAxis: { +type: 'log', +logBase: 2, +}, +series: [ +{ +type: 'scatter', +itemStyle: { +color: 'red', +}, +data: [ +[1, .5], +], +}, +], +}); +}); + + \ 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-13154 created (now c885e6503)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch fix-13154 in repository https://gitbox.apache.org/repos/asf/echarts.git at c885e6503 fix(log): fix log axis breaks a single data whose log value is negative #13154 This branch includes the following new commits: new c885e6503 fix(log): fix log axis breaks a single data whose log value is negative #13154 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 master updated (89d57f21b -> 64a86ba3e)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git from 89d57f21b Merge pull request #17304 from apache/stale-close-reason add 70b10e198 fix(custom): fix potential NPE when applying leave transition. new 64a86ba3e Merge pull request #17308 from apache/fix-custom 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/custom/CustomView.ts | 10 +++--- test/custom.html | 73 ++ test/runTest/actions/__meta__.json | 2 +- test/runTest/actions/custom.json | 2 +- 4 files changed, 57 insertions(+), 30 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 #17308 from apache/fix-custom
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git commit 64a86ba3e022fc27d286c7e4b938dcb3eac6efab Merge: 89d57f21b 70b10e198 Author: Wenli Zhang AuthorDate: Mon Jul 4 17:45:12 2022 +0800 Merge pull request #17308 from apache/fix-custom fix(custom): fix custom elements probably can't be removed due to NPE when applying leave transition src/chart/custom/CustomView.ts | 10 +++--- test/custom.html | 73 ++ test/runTest/actions/__meta__.json | 2 +- test/runTest/actions/custom.json | 2 +- 4 files changed, 57 insertions(+), 30 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] 01/02: fix(axis): add time axis special tick logic
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch fix-17198 in repository https://gitbox.apache.org/repos/asf/echarts.git commit a9a39296669299ed5951526bfe8c6cc2859296e7 Author: Ovilia AuthorDate: Mon Jul 4 15:04:01 2022 +0800 fix(axis): add time axis special tick logic --- src/coord/Axis.ts | 1 + src/coord/axisTickLabelBuilder.ts | 112 ++ 2 files changed, 113 insertions(+) diff --git a/src/coord/Axis.ts b/src/coord/Axis.ts index 7a334a0a4..ebbfbb221 100644 --- a/src/coord/Axis.ts +++ b/src/coord/Axis.ts @@ -193,6 +193,7 @@ class Axis { this, ticksCoords, alignWithLabel, opt.clamp ); +console.log('ticksCoords', ticksCoords); return ticksCoords; } diff --git a/src/coord/axisTickLabelBuilder.ts b/src/coord/axisTickLabelBuilder.ts index fbc2e5c97..b56442573 100644 --- a/src/coord/axisTickLabelBuilder.ts +++ b/src/coord/axisTickLabelBuilder.ts @@ -31,6 +31,7 @@ import { AxisBaseOption } from './axisCommonTypes'; import OrdinalScale from '../scale/Ordinal'; import { AxisBaseModel } from './AxisBaseModel'; import type Axis2D from './cartesian/Axis2D'; +import { TimeScaleTick } from '../util/types'; type CacheKey = string | number; @@ -72,6 +73,8 @@ export function createAxisLabels(axis: Axis): { // Only ordinal scale support tick interval return axis.type === 'category' ? makeCategoryLabels(axis) +: axis.type === 'time' +? makeTimeLabels(axis) : makeRealNumberLabels(axis); } @@ -90,6 +93,8 @@ export function createAxisTicks(axis: Axis, tickModel: AxisBaseModel): { // Only ordinal scale support tick interval return axis.type === 'category' ? makeCategoryTicks(axis, tickModel) +: axis.type === 'time' +? makeTimeTicks(axis, tickModel) : {ticks: zrUtil.map(axis.scale.getTicks(), tick => tick.value) }; } @@ -102,6 +107,15 @@ function makeCategoryLabels(axis: Axis) { : result; } +function makeTimeLabels(axis: Axis) { +const labelModel = axis.getLabelModel(); +const result = makeTimeLabelsActually(axis, labelModel); + +return (!labelModel.get('show') || axis.scale.isBlank()) +? {labels: []} +: result; +} + function makeCategoryLabelsActually(axis: Axis, labelModel: Model) { const labelsCache = getListCache(axis, 'labels'); const optionLabelInterval = getOptionCategoryInterval(labelModel); @@ -129,6 +143,104 @@ function makeCategoryLabelsActually(axis: Axis, labelModel: Model) { +const labelsCache = getListCache(axis, 'labels'); +const timeKey = 'time'; // TODO: change key name +const result = listCacheGet(labelsCache, timeKey); + +if (result) { +return result; +} + +const labels = makeNonOverlappedTimeLabels(axis); + +// Cache to avoid calling interval function repeatly. +return listCacheSet(labelsCache, timeKey, { +labels: labels +}); +} + +function makeNonOverlappedTimeLabels(axis: Axis): MakeLabelsResultObj[]; +function makeNonOverlappedTimeLabels(axis: Axis, onlyTick: false): MakeLabelsResultObj[]; +function makeNonOverlappedTimeLabels(axis: Axis, onlyTick: true): number[]; +function makeNonOverlappedTimeLabels(axis: Axis, onlyTick?: boolean) { +const ticks = axis.scale.getTicks() as TimeScaleTick[]; +const ordinalScale = axis.scale as OrdinalScale; +const labelFormatter = makeLabelFormatter(axis); + +const result: (MakeLabelsResultObj | number)[] = []; + +function addItem(tickValue: number) { +const tickObj = { value: tickValue }; +result.push(onlyTick +? tickValue +: { +formattedLabel: labelFormatter(tickObj), +rawLabel: ordinalScale.getLabel(tickObj), // TODO: ? +tickValue: tickValue +} +); +} + +let lastMaxLevel = Number.MAX_VALUE; +let maxLevel; +while (true) { +maxLevel = -1; + +for (let i = 0; i < ticks.length; i++) { +if (ticks[i].level > maxLevel && ticks[i].level < lastMaxLevel) { +maxLevel = ticks[i].level; +} +} + +if (maxLevel < 0) { +break; +} + +for (let i = 0; i < ticks.length; i++) { +const tick = ticks[i]; +if (tick.level === maxLevel) { +// Add the tick only if it has no overlap with current ones + // TODO: +addItem(tick.value); +} +} + +if (maxLevel <= 0) { +break; +} +lastMaxLevel = maxLevel; +} +return result; +} + +function makeTimeTicks(axis: Axis, tickModel: AxisBaseModel) { +const ticksCache = getListCache(axis, 'ticks'); +const result = listCacheGet(ticksCache, 'time'); + +if (result) { +return re
[echarts] branch fix-17198 created (now 0c594936a)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch fix-17198 in repository https://gitbox.apache.org/repos/asf/echarts.git at 0c594936a fix(axis): add time ticks with larger levels first This branch includes the following new commits: new a9a392966 fix(axis): add time axis special tick logic new 0c594936a fix(axis): add time ticks with larger levels first 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: fix(axis): add time ticks with larger levels first
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch fix-17198 in repository https://gitbox.apache.org/repos/asf/echarts.git commit 0c594936a71351e73eadff90f55d491a772a2613 Author: Ovilia AuthorDate: Mon Jul 4 17:31:17 2022 +0800 fix(axis): add time ticks with larger levels first --- src/coord/Axis.ts | 4 +- src/coord/axisTickLabelBuilder.ts | 53 -- test/timeScale-formatter.html | 115 ++ 3 files changed, 153 insertions(+), 19 deletions(-) diff --git a/src/coord/Axis.ts b/src/coord/Axis.ts index ebbfbb221..59eaa3122 100644 --- a/src/coord/Axis.ts +++ b/src/coord/Axis.ts @@ -193,7 +193,6 @@ class Axis { this, ticksCoords, alignWithLabel, opt.clamp ); -console.log('ticksCoords', ticksCoords); return ticksCoords; } @@ -222,7 +221,8 @@ class Axis { } getViewLabels(): ReturnType['labels'] { -return createAxisLabels(this).labels; +const labels = createAxisLabels(this).labels; +return labels; } getLabelModel(): Model { diff --git a/src/coord/axisTickLabelBuilder.ts b/src/coord/axisTickLabelBuilder.ts index b56442573..9c6be6c30 100644 --- a/src/coord/axisTickLabelBuilder.ts +++ b/src/coord/axisTickLabelBuilder.ts @@ -32,6 +32,7 @@ import OrdinalScale from '../scale/Ordinal'; import { AxisBaseModel } from './AxisBaseModel'; import type Axis2D from './cartesian/Axis2D'; import { TimeScaleTick } from '../util/types'; +import { BoundingRect } from 'zrender'; type CacheKey = string | number; @@ -167,23 +168,46 @@ function makeNonOverlappedTimeLabels(axis: Axis, onlyTick?: boolean) { const ticks = axis.scale.getTicks() as TimeScaleTick[]; const ordinalScale = axis.scale as OrdinalScale; const labelFormatter = makeLabelFormatter(axis); +const font = axis.getLabelModel().getFont(); const result: (MakeLabelsResultObj | number)[] = []; +const boundingRects: BoundingRect[] = []; + +function isOverlap(rect: BoundingRect) { +/** + * `rotate` is not considered because for time axis, + * the interval is a suggestion value, not a precise value. + * So if there is no overlap without rotate, there should be + * no overlap with rotate and we don't have to make tick labels + * as condense as possible as in the case of category axes. + */ +for (let i = 0; i < boundingRects.length; i++) { +if (rect.intersect(boundingRects[i])) { +return true; +} +} +return false; +} -function addItem(tickValue: number) { -const tickObj = { value: tickValue }; +function addItem(tickValue: number, tickLevel: number) { +const tickObj = { value: tickValue, level: tickLevel }; result.push(onlyTick ? tickValue : { formattedLabel: labelFormatter(tickObj), rawLabel: ordinalScale.getLabel(tickObj), // TODO: ? -tickValue: tickValue +tickValue: tickValue, +level: tickLevel } ); } let lastMaxLevel = Number.MAX_VALUE; let maxLevel; +/** + * Loop through the ticks with larger levels to smaller levels so that if + * the ticks are overlapped, we can use the level of the higher level. + */ while (true) { maxLevel = -1; @@ -200,9 +224,25 @@ function makeNonOverlappedTimeLabels(axis: Axis, onlyTick?: boolean) { for (let i = 0; i < ticks.length; i++) { const tick = ticks[i]; if (tick.level === maxLevel) { -// Add the tick only if it has no overlap with current ones - // TODO: -addItem(tick.value); +// Check if this tick is overlapped with added ticks +const rect = textContain.getBoundingRect( +labelFormatter({ +value: tick.value, +level: tick.level +}), +font, +'center', +'top' +); +// The same magic number as in calculateCategoryInterval +const padding = 0.15; +rect.x += axis.dataToCoord(tick.value) - rect.width * padding; +rect.width *= (1 + padding * 2); +if (!isOverlap(rect)) { +// Add the tick only if it has no overlap with current ones +addItem(tick.value, tick.level); +boundingRects.push(rect); +} } } @@ -443,6 +483,7 @@ interface MakeLabelsResultObj { formattedLabel: string rawLabel: string tickValue: number +level?: number } function makeLabelsByNumericCategoryInterval(axis
[echarts] branch fix-17141 updated (3c6eb554e -> a55ef1a8f)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch fix-17141 in repository https://gitbox.apache.org/repos/asf/echarts.git from 3c6eb554e test(dataZoom): add test cases add 16016881a fix(geo): add back two missing arguments to `projectedToPoint` called in Geo `dataToPoint` function. add 7a8808d63 Merge pull request #17150 from apache/fix/geo add c54953c07 fix(markLine): fix markLine label shows wrong tooltip content. add 79fdbe4e7 Merge pull request #16971 from apache/fix-markLine-label-tooltip add 3ece5c065 fix(tree): fix tree unexpected expand (#16548) add ed259699d fix:improve PictorialBarSeriesOption add 4c167a3a4 Merge pull request #17155 from dmzc/fix-pictorialbar-dts add 734cfbf46 chore: remove some unintentional comment add e2d26a298 Merge pull request #17172 from susiwen8/fix-comment add c82eb4157 test: update visual test cdn to be unpkg add 0c7291fb5 Merge pull request #17181 from apache/test-cdn 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 1a584e45d Merge pull request #17182 from apache/master add 3a5edc2a2 test: change cdn to unpkg add 21f220f60 chore: release 5.3.3 add 6dfe96d0c chore: update zrender version in the source code add 86eba716f Merge pull request #17190 from apache/release-dev 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 a55ef1a8f Merge branch 'master' into fix-17141 No new revisions were added by this update. Summary of changes: .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|1 + dist/echarts.common.js | 6163 ++--- dist/echarts.common.js.map |2 +- dist/echarts.common.min.js |4 +- dist/echarts.esm.js| 9199 ++-- dist/echarts.esm.js.map|2 +- dist/echarts.esm.min.js|2 +- dist/echarts.js| 9199 ++-- dist/echarts.js.map|2 +- dist/echarts.min.js|2 +- dist/echarts.simple.js | 4704 +- dist/echarts.simple.js.map |2 +- dist/echarts.simple.min.js |2 +- dist/extension/bmap.js.map |2 +- dist/extension/dataTool.js.map |2 +- package-lock.json | 18 +- package.json |4 +- .../{basicTrasition.ts => basicTransition.ts} |0 src/animation/customGraphicKeyframeAnimation.ts|2 +- src/animation/customGraphicTransition.ts |2 +- src/animation/morphTransitionHelper.ts |2 +- src/animation/universalTransition.ts |2 +- src/chart/bar/BarView.ts |2 +- src/chart/bar/PictorialBarSeries.ts|5 +- src/chart/boxplot/BoxplotView.ts |2 +- src/chart/candlestick/CandlestickView.ts |2 +- src/chart/funnel/FunnelView.ts |2 +- src/chart/helper/Symbol.ts |2 +- src/chart/line/LineView.ts |4 +- src/chart/parallel/ParallelView.ts |2 +- src/chart/pie/PieView.ts |2 +- src/chart/radar/RadarView.ts |2 +- src/chart/sunburst/SunburstPiece.ts|2 +- src/chart/sunburst/SunburstSeries.ts |4 +- src/chart/themeRiver/ThemeRiverView.ts |2 +- src/chart/tree/TreeV
[echarts-theme-builder] branch refactor updated (7c22216 -> 395f6ef)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch refactor in repository https://gitbox.apache.org/repos/asf/echarts-theme-builder.git from 7c22216 chore: update dependency versions add 395f6ef fix: add seperate config for different axes No new revisions were added by this update. Summary of changes: src/App.vue | 8 +- src/components/EConfig.vue | 48 ++-- src/components/EPreview.vue | 11 ++- src/data/themeConfigs.ts| 184 +--- src/i18n/en-US.ts | 15 ++-- src/i18n/zh-CN.ts | 5 ++ 6 files changed, 227 insertions(+), 44 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-theme-builder] branch refactor updated (0019384 -> 7c22216)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch refactor in repository https://gitbox.apache.org/repos/asf/echarts-theme-builder.git from 0019384 fix: radar example apache/echarts#15911 add 7c22216 chore: update dependency versions No new revisions were added by this update. Summary of changes: package-lock.json | 12755 --- package.json | 7 +- src/components/EConfig.vue | 6 +- tsconfig.json | 3 +- 4 files changed, 3605 insertions(+), 9166 deletions(-) - 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 interface SunburstSeriesOption and TreemapSeriesOption
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git The following commit(s) were added to refs/heads/master by this push: new 821b24ad6 fix:improve interface SunburstSeriesOption and TreemapSeriesOption new 18c333706 Merge pull request #17218 from dmzc/5.3.2 821b24ad6 is described below commit 821b24ad6b37deefda9fed0645aa6e42474cf6a6 Author: zhangchuangm AuthorDate: Wed Jun 15 10:38:01 2022 +0800 fix:improve interface SunburstSeriesOption and TreemapSeriesOption --- src/chart/sunburst/SunburstSeries.ts | 4 ++-- src/chart/treemap/TreemapSeries.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/chart/sunburst/SunburstSeries.ts b/src/chart/sunburst/SunburstSeries.ts index 9ef36b54d..0887e2fd7 100644 --- a/src/chart/sunburst/SunburstSeries.ts +++ b/src/chart/sunburst/SunburstSeries.ts @@ -81,7 +81,7 @@ export interface SunburstSeriesNodeItemOption extends StatesOptionMixin, SunburstStatesMixin>, OptionDataItemObject { -nodeClick?: 'rootToNode' | 'link' +nodeClick?: 'rootToNode' | 'link' | false // Available when nodeClick is link link?: string target?: string @@ -138,7 +138,7 @@ export interface SunburstSeriesOption extends */ // highlightPolicy?: 'descendant' | 'ancestor' | 'self' -nodeClick?: 'rootToNode' | 'link' +nodeClick?: 'rootToNode' | 'link' | false renderLabelForZeroData?: boolean diff --git a/src/chart/treemap/TreemapSeries.ts b/src/chart/treemap/TreemapSeries.ts index 241837c9f..78fb9cc3d 100644 --- a/src/chart/treemap/TreemapSeries.ts +++ b/src/chart/treemap/TreemapSeries.ts @@ -192,7 +192,7 @@ export interface TreemapSeriesOption * be on left depth, the behaviour would be changing root. Otherwise * use behavious defined above. */ -nodeClick?: 'zoomToNode' | 'link' +nodeClick?: 'zoomToNode' | 'link' | false breadcrumb?: BoxLayoutOptionMixin & { show?: boolean - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-bot] branch master updated: fix: adding awaiting review label when approves
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-bot.git The following commit(s) were added to refs/heads/master by this push: new 0826d47 fix: adding awaiting review label when approves 0826d47 is described below commit 0826d47303d81316cbdc3d4e3b5972810b3169b6 Author: Ovilia AuthorDate: Tue Jun 14 15:24:21 2022 +0800 fix: adding awaiting review label when approves --- index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.js b/index.js index 368c612..43c4789 100644 --- a/index.js +++ b/index.js @@ -274,8 +274,7 @@ module.exports = (/** @type import('probot').Probot */ app) => { const commentText = checkDoc(content, '', addLabel, removeLabel); return Promise.all([ commentIssue(context, commentText), -addLabels(context, [labelText.PR_REVISION_NEEDED]), -removeLabels(context, [labelText.PR_AWAITING_REVIEW]) +removeLabels(context, [labelText.PR_AWAITING_REVIEW, labelText.PR_REVISION_NEEDED]) ]); } } - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-bot] branch master updated: fix: doc template comment logic
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-bot.git The following commit(s) were added to refs/heads/master by this push: new d6f2469 fix: doc template comment logic d6f2469 is described below commit d6f2469c18c1afb73b82ba3627a39e78bd61 Author: Ovilia AuthorDate: Tue Jun 14 14:54:48 2022 +0800 fix: doc template comment logic --- index.js| 8 src/text.js | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 8beb751..368c612 100644 --- a/index.js +++ b/index.js @@ -188,7 +188,7 @@ module.exports = (/** @type import('probot').Probot */ app) => { const content = context.payload.pull_request.body || ''; -commentText = checkDoc(content, labelList, removeLabelList); +commentText = checkDoc(content, commentText, labelList, removeLabelList); if (content.indexOf('[x] This PR depends on ZRender changes') > -1) { commentText += text.PR_ZRENDER_CHANGED; @@ -431,17 +431,17 @@ function checkDoc(content, commentText, addLabelList, removeLabelList) { } } else { -if (content.indexOf('[x] ' + text.PR_DOC_RREADY)) { +if (content.indexOf('[x] ' + text.PR_DOC_RREADY) >= 0) { addLabelList.push(labelText.PR_DOC_READY); removeLabelList.push(labelText.PR_DOC_UNCHANGED); removeLabelList.push(labelText.PR_DOC_LATER); } -else if (content.indexOf('[x] ' + text.PR_DOC_UNCHANGED)) { +else if (content.indexOf('[x] ' + text.PR_DOC_UNCHANGED) >= 0) { addLabelList.push(labelText.PR_DOC_UNCHANGED); removeLabelList.push(labelText.PR_DOC_READY); removeLabelList.push(labelText.PR_DOC_LATER); } -else if (content.indexOf('[x] ' + text.PR_DOC_LATER)) { +else if (content.indexOf('[x] ' + text.PR_DOC_LATER) >= 0) { addLabelList.push(labelText.PR_AWAITING_DOC); removeLabelList.push(labelText.PR_DOC_UNCHANGED); removeLabelList.push(labelText.PR_DOC_READY); diff --git a/src/text.js b/src/text.js index cab9ba9..1ac160b 100644 --- a/src/text.js +++ b/src/text.js @@ -57,7 +57,9 @@ const PR_DOC_UNCHANGED = `This PR doesn't relate to document changes`; const PR_DOC_LATER = `The document should be updated later`; const PR_DOC_RREADY = `The document changes have been made`; -const PR_DOC_LAGACY = `Please make sure this PR has one of the following labels: \`PR: doc ready\`, \`PR: doc awaiting\`, \`PR: doc unchanged\``; +const PR_DOC_LAGACY = `To reviewers: If this PR is going to be described in the changelog in the future release, please make sure this PR has one of the following labels: \`PR: doc ready\`, \`PR: doc awaiting\`, \`PR: doc unchanged\` + +This message is shown because the PR description doesn't contain the document related template.`; const PR_MISSING_DOC_INFO = ` - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch master updated (5d813ddcc -> 11a9247e7)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git from 5d813ddcc Merge pull request #17201 from apache/fix-pr add 1a584e45d Merge pull request #17182 from apache/master add 3a5edc2a2 test: change cdn to unpkg add 21f220f60 chore: release 5.3.3 add 6dfe96d0c chore: update zrender version in the source code add 86eba716f Merge pull request #17190 from apache/release-dev new 11a9247e7 Merge pull request #17213 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 | 6163 dist/echarts.common.js.map |2 +- dist/echarts.common.min.js |4 +- dist/echarts.esm.js| 9199 ++-- dist/echarts.esm.js.map|2 +- dist/echarts.esm.min.js|2 +- dist/echarts.js| 9199 ++-- dist/echarts.js.map|2 +- dist/echarts.min.js|2 +- dist/echarts.simple.js | 4704 +- dist/echarts.simple.js.map |2 +- dist/echarts.simple.min.js |2 +- dist/extension/bmap.js.map |2 +- dist/extension/dataTool.js.map |2 +- package-lock.json | 18 +- package.json |4 +- src/core/echarts.ts|4 +- test/map-projection-animation.html |5 +- test/map-projection-d3.html|5 +- test/map-projection.html |5 +- test/runTest/client/index.html |6 +- test/runTest/recorder/index.html |8 +- 22 files changed, 14745 insertions(+), 14597 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 #17213 from apache/release
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git commit 11a9247e7fab2e6ff9c60b545ba775e8c1b2412f Merge: 5d813ddcc 86eba716f Author: Wenli Zhang AuthorDate: Tue Jun 14 13:06:18 2022 +0800 Merge pull request #17213 from apache/release Release 5.3.3, merge release into master dist/echarts.common.js | 6163 dist/echarts.common.js.map |2 +- dist/echarts.common.min.js |4 +- dist/echarts.esm.js| 9199 ++-- dist/echarts.esm.js.map|2 +- dist/echarts.esm.min.js|2 +- dist/echarts.js| 9199 ++-- dist/echarts.js.map|2 +- dist/echarts.min.js|2 +- dist/echarts.simple.js | 4704 +- dist/echarts.simple.js.map |2 +- dist/echarts.simple.min.js |2 +- dist/extension/bmap.js.map |2 +- dist/extension/dataTool.js.map |2 +- package-lock.json | 18 +- package.json |4 +- src/core/echarts.ts|4 +- test/map-projection-animation.html |5 +- test/map-projection-d3.html|5 +- test/map-projection.html |5 +- test/runTest/client/index.html |6 +- test/runTest/recorder/index.html |8 +- 22 files changed, 14745 insertions(+), 14597 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-www] branch master updated: feat: update download version
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-www.git The following commit(s) were added to refs/heads/master by this push: new 92955779 feat: update download version 92955779 is described below commit 92955779817ee21f8e3ae789f2ba5a8dfddb5404 Author: Ovilia AuthorDate: Tue Jun 14 12:27:47 2022 +0800 feat: update download version --- js/download.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/download.js b/js/download.js index d6476ce8..23755995 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-04-01T00:00:00Z', +publishedAt: '2022-06-14T00:00:00Z', prerelease: false, -name: '5.3.2' +name: '5.3.3' }]; 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] 01/01: Merge pull request #261 from apache/dev
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-doc.git commit 039a511ac2e95296d4b0de1e3e2dadf3f0690c6a Merge: e15313c8 71bdc522 Author: Wenli Zhang AuthorDate: Tue Jun 14 12:14:45 2022 +0800 Merge pull request #261 from apache/dev Release 5.3.3, merge dev doc to master en/changelog.md | 1 + en/option-gl/partial/version.md | 5 + en/option-gl/series/bar3D.md | 14 ++ en/option/component/x-axis.md| 4 en/option/component/y-axis.md| 4 en/option/partial/emphasis-common.md | 3 +++ en/option/series/bar.md | 15 +++ en/option/series/graph.md| 6 +++--- en/option/series/line.md | 16 +++- en/option/series/map.md | 11 ++- en/option/series/tree.md | 10 ++ zh/changelog.md | 28 zh/option-gl/partial/version.md | 5 + zh/option-gl/series/bar3D.md | 18 -- zh/option/component/x-axis.md| 4 zh/option/component/y-axis.md| 4 zh/option/partial/emphasis-common.md | 3 +++ zh/option/series/bar.md | 17 +++-- zh/option/series/graph.md| 6 +++--- zh/option/series/line.md | 18 +++--- zh/option/series/map.md | 11 ++- zh/option/series/tree.md | 10 ++ 22 files changed, 189 insertions(+), 24 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-doc] branch master updated (e15313c8 -> 039a511a)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/echarts-doc.git from e15313c8 doc: update expression in the changelog add ecbe8faf optimize doc style add 1df22bda Merge branch 'master' into dev add 93983a46 Merge branch 'master' into dev add 64a15472 feat: add stackStrategy docs add d4d6baa6 add version add 91952666 fix typo and add anchors add ecb8f10a add stackStrategy zh doc add 544e1f9d Merge pull request #255 from villebro/villebro/stackStrategy add b6653a2b feat(tree): add `relative` for `tree.emphasis.focus` (#251) add 994bb1da fix translate issue add 6a2366ed Merge branch 'master' into dev add bee3b504 fix: translation of apache/echarts#17086 add 94e98e02 feat(doc): add doc for apache/echarts#16904 add 50c684ca tweak apache/echarts-doc#255 add 8a8af26a fix(axis): add version tip for `alignTicks`. add 12aabb09 fix(tree): fix syntax errors in `tree` series option. add dec97272 tweak emphasis-common.md add 0158ae7f fix type of `center` option add 40115aae fix(stackStrategy): fix syntax errors & typos and add version indicator for option-gl add cc37c3dd fix: add version for `center` (#260) add 71bdc522 feat: add chinese changelog new 039a511a Merge pull request #261 from apache/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: en/changelog.md | 1 + en/option-gl/partial/version.md | 5 + en/option-gl/series/bar3D.md | 14 ++ en/option/component/x-axis.md| 4 en/option/component/y-axis.md| 4 en/option/partial/emphasis-common.md | 3 +++ en/option/series/bar.md | 15 +++ en/option/series/graph.md| 6 +++--- en/option/series/line.md | 16 +++- en/option/series/map.md | 11 ++- en/option/series/tree.md | 10 ++ zh/changelog.md | 28 zh/option-gl/partial/version.md | 5 + zh/option-gl/series/bar3D.md | 18 -- zh/option/component/x-axis.md| 4 zh/option/component/y-axis.md| 4 zh/option/partial/emphasis-common.md | 3 +++ zh/option/series/bar.md | 17 +++-- zh/option/series/graph.md| 6 +++--- zh/option/series/line.md | 18 +++--- zh/option/series/map.md | 11 ++- zh/option/series/tree.md | 10 ++ 22 files changed, 189 insertions(+), 24 deletions(-) create mode 100644 en/option-gl/partial/version.md create mode 100644 zh/option-gl/partial/version.md - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-doc] branch dev updated (cc37c3dd -> 71bdc522)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch dev in repository https://gitbox.apache.org/repos/asf/echarts-doc.git from cc37c3dd fix: add version for `center` (#260) add 71bdc522 feat: add chinese changelog No new revisions were added by this update. Summary of changes: en/changelog.md | 1 + zh/changelog.md | 28 2 files changed, 29 insertions(+) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
svn commit: r55110 - /release/echarts/5.3.2/
Author: ovilia Date: Tue Jun 14 03:40:11 2022 New Revision: 55110 Log: remove old version Removed: release/echarts/5.3.2/ - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
svn commit: r55109 - in /release/echarts/5.3.3: ./ RELEASE_NOTE.txt apache-echarts-5.3.3-src.zip apache-echarts-5.3.3-src.zip.asc apache-echarts-5.3.3-src.zip.sha512
Author: ovilia Date: Tue Jun 14 03:38:00 2022 New Revision: 55109 Log: release Added: release/echarts/5.3.3/ release/echarts/5.3.3/RELEASE_NOTE.txt release/echarts/5.3.3/apache-echarts-5.3.3-src.zip (with props) release/echarts/5.3.3/apache-echarts-5.3.3-src.zip.asc (with props) release/echarts/5.3.3/apache-echarts-5.3.3-src.zip.sha512 Added: release/echarts/5.3.3/RELEASE_NOTE.txt == --- release/echarts/5.3.3/RELEASE_NOTE.txt (added) +++ release/echarts/5.3.3/RELEASE_NOTE.txt Tue Jun 14 03:38:00 2022 @@ -0,0 +1,26 @@ +## 5.3.3 + ++ [Feature] [bar] add new stacking strategies. [#17086](https://github.com/apache/echarts/issues/17086) ([villebro](https://github.com/villebro)) ++ [Feature] [tree] `tree` focus supports `relative`. [#17009](https://github.com/apache/echarts/issues/17009) ([susiwen8](https://github.com/susiwen8)) ++ [Feature] [visualMap] `selectedMode` supports `boolean`. [#16972](https://github.com/apache/echarts/issues/16972) ([susiwen8](https://github.com/susiwen8)) ++ [Feature] [graph] [tree] [map] series `center` of view supports `string`. [#16904](https://github.com/apache/echarts/issues/16904) ([susiwen8](https://github.com/susiwen8)) ++ [Fix] [line] fix polygon not being updated when switching from line chart to step line chart with `notMerge: true`. [#16772](https://github.com/apache/echarts/issues/16772) ([jiawulin001](https://github.com/jiawulin001)) ++ [Fix] [tree] fix radial tree with a single root not working. [#16950](https://github.com/apache/echarts/issues/16950) ([fuchunhui](https://github.com/fuchunhui)) ++ [Fix] [tree] fix unexpected expanded children when edgeShape is polyline. [#16548](https://github.com/apache/echarts/issues/16548) ([linghaoSu](https://github.com/linghaoSu)) ++ [Fix] [graph] fix user cursor setting not being respected. [#16867](https://github.com/apache/echarts/issues/16867) ([susiwen8](https://github.com/susiwen8)) ++ [Fix] [graph] fix `autoCurveness` type. [#16897](https://github.com/apache/echarts/issues/16897) ([kongmoumou](https://github.com/kongmoumou)) ++ [Fix] [radar] fix names being `-` in tooltip when `name.show` is `false`. [#15985](https://github.com/apache/echarts/issues/15985) ([Ovilia](https://github.com/Ovilia)) ++ [Fix] [radar] fix regression bug brought by branch merging. [#16764](https://github.com/apache/echarts/issues/16764) ([plainheart](https://github.com/plainheart)) ++ [Fix] [geo] fix linesGL series not render. [#17150](https://github.com/apache/echarts/issues/17150) ([plainheart](https://github.com/plainheart)) ++ [Fix] [pictorialBar] improve PictorialBarSeriesOption type definition. [#17155](https://github.com/apache/echarts/issues/17155) ([dmzc](https://github.com/dmzc)) ++ [Fix] [tooltip] fix content changes with axis extent when 'triggerOn' set to 'click'. [#16939](https://github.com/apache/echarts/issues/16939) ([jiawulin001](https://github.com/jiawulin001)) ++ [Fix] [dataZoom] fix `borderColor` may not work in some bundle environments. [#16854](https://github.com/apache/echarts/issues/16854) ([Ling310](https://github.com/Ling310)) ++ [Fix] [markLine] fix markLine label showing wrong tooltip content. [#16971](https://github.com/apache/echarts/issues/16971) ([plainheart](https://github.com/plainheart)) ++ [Fix] [markArea] fix markArea may be filtered unexpectedly. [#16861](https://github.com/apache/echarts/issues/16861) ([jiawulin001](https://github.com/jiawulin001)) ++ [Fix] [axis] fix `{yy}` not being padded to 2 digits. [#17064](https://github.com/apache/echarts/issues/17064) ([Fritzbox2000](https://github.com/Fritzbox2000)) ++ [Fix] [axis] fix quarters splitting the year into 4 quarters not 3. [#17073](https://github.com/apache/echarts/issues/17073) ([Fritzbox2000](https://github.com/Fritzbox2000)) ++ [Fix] [axis] fix custom series not working on singleAxis. [#16850](https://github.com/apache/echarts/issues/16850) ([benlongo](https://github.com/benlongo)) ++ [Fix] [graphic] fix some options may be unexpectedly reset on update. [#17007](https://github.com/apache/echarts/issues/17007) ([plainheart](https://github.com/plainheart)) ++ [Fix] [decal] fix pattern not changing after set `legend.itemStyle.decal` to be `'none'`. [#16922](https://github.com/apache/echarts/issues/16922) ([jiawulin001](https://github.com/jiawulin001)) ++ [Fix] [radialGradient] add safe guarding for radial gradient. [#898](https://github.com/ecomfe/zrender/issues/898). [#919](https://github.com/ecomfe/zrender/issues/919) ([lefex](https://github.com/lefex)) ([Ovilia](https://github.com/Ovilia)) ++ [Fix] [types] fix typo in `DataStore`. [#16824](https://github.com/apache/echarts/issues/16824) ([XXXMrG](https://github.com/XXXMrG)) \ No newline at end of file Added: release/echarts/5.3.3/apache-echarts-5.3.3-src.zip == Binary file
[echarts] tag 5.3.3 created (now 86eba716f)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to tag 5.3.3 in repository https://gitbox.apache.org/repos/asf/echarts.git at 86eba716f (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-bot] branch master updated (c2daac7 -> a951e63)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/echarts-bot.git from c2daac7 chore: bump probot to latest. new 3d9a00b feat: improve pr document workflow new a951e63 feat: add new committers The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: index.js | 102 -- src/coreCommitters.js | 4 +- src/label.js | 4 ++ src/text.js | 21 ++- src/util.js | 19 +- 5 files changed, 118 insertions(+), 32 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-bot] 01/02: feat: improve pr document workflow
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-bot.git commit 3d9a00b5c9c057078c9e07a4e8ac5e03a7f9d5c9 Author: Ovilia AuthorDate: Mon Jun 13 13:01:14 2022 +0800 feat: improve pr document workflow --- index.js | 102 +++ src/label.js | 4 +++ src/text.js | 21 ++-- src/util.js | 19 ++- 4 files changed, 115 insertions(+), 31 deletions(-) diff --git a/index.js b/index.js index 8844a34..8beb751 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,7 @@ const text = require('./src/text'); const labelText = require('./src/label'); const logger = require('./src/logger'); const { isCommitter } = require('./src/coreCommitters'); -const { replaceAll, removeHTMLComment } = require('./src/util'); +const { replaceAll, removeHTMLComment, isMissingDocInfo } = require('./src/util'); module.exports = (/** @type import('probot').Probot */ app) => { app.on(['issues.opened'], async context => { @@ -177,6 +177,7 @@ module.exports = (/** @type import('probot').Probot */ app) => { : text.PR_OPENED; const labelList = []; +const removeLabelList = []; const isDraft = context.payload.pull_request.draft; if (!isDraft) { labelList.push(labelText.PR_AWAITING_REVIEW); @@ -185,13 +186,12 @@ module.exports = (/** @type import('probot').Probot */ app) => { labelList.push(labelText.PR_AUTHOR_IS_COMMITTER); } -const content = context.payload.pull_request.body; -if (content && content.indexOf('[x] The API has been changed') > -1) { -labelList.push(labelText.PR_AWAITING_DOC); -commentText += '\n\n' + text.PR_AWAITING_DOC; -} -if (content && content.indexOf('[x] This PR depends on ZRender changes') > -1) { -commentText += '\n\n' + text.PR_ZRENDER_CHANGED; +const content = context.payload.pull_request.body || ''; + +commentText = checkDoc(content, labelList, removeLabelList); + +if (content.indexOf('[x] This PR depends on ZRender changes') > -1) { +commentText += text.PR_ZRENDER_CHANGED; } if (await isFirstTimeContributor(context)) { @@ -200,7 +200,8 @@ module.exports = (/** @type import('probot').Probot */ app) => { return Promise.all([ commentIssue(context, commentText), -addLabels(context, labelList) +addLabels(context, labelList), +removeLabels(context, removeLabelList) ]); }); @@ -224,15 +225,12 @@ module.exports = (/** @type import('probot').Probot */ app) => { addLabel.push(labelText.PR_AWAITING_REVIEW); } -const content = pr.body; -if (content && content.indexOf('[x] The API has been changed') > -1) { -addLabel.push(labelText.PR_AWAITING_DOC); -} -else { -removeLabel.push(labelText.PR_AWAITING_DOC); -} +const content = pr.body || ''; + +const commentText = checkDoc(content, '', addLabel, removeLabel); return Promise.all([ +commentIssue(context, commentText), removeLabels(removeLabel), addLabels(addLabel) ]); @@ -261,13 +259,25 @@ module.exports = (/** @type import('probot').Probot */ app) => { app.on(['pull_request_review.submitted'], async context => { const review = context.payload.review; -if (review.state === 'changes_requested' -&& isCommitter(review.author_association, review.user.login) -) { -return Promise.all([ -addLabels(context, [labelText.PR_REVISION_NEEDED]), -removeLabels(context, [labelText.PR_AWAITING_REVIEW]) -]); +const addLabel = []; +const removeLabel = []; +if (isCommitter(review.author_association, review.user.login)) { +if (review.state === 'changes_requested') { +return Promise.all([ +addLabels(context, [labelText.PR_REVISION_NEEDED]), +removeLabels(context, [labelText.PR_AWAITING_REVIEW]) +]); +} +else if (review.state === 'approved') { +const pr = context.payload.pull_request; +const content = pr.body || ''; +const commentText = checkDoc(content, '', addLabel, removeLabel); +return Promise.all([ +commentIssue(context, commentText), +addLabels(context, [labelText.PR_REVISION_NEEDED]), +removeLabels(context, [labelText.PR_AWAITING_REVIEW]) +]); +} } }); @@ -340,11 +350,17 @@ function o
[echarts-bot] 02/02: feat: add new committers
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-bot.git commit a951e638e7503777b4c77486e870907013625058 Author: Ovilia AuthorDate: Tue Jun 14 11:07:34 2022 +0800 feat: add new committers --- src/coreCommitters.js | 4 +++- src/util.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/coreCommitters.js b/src/coreCommitters.js index 7520cb8..c635e7d 100644 --- a/src/coreCommitters.js +++ b/src/coreCommitters.js @@ -12,7 +12,9 @@ const committers = [ 'yufeng04', 'chfw', 'alex2wong', -'ClemMakesApps' +'ClemMakesApps', +'fuchunhui', +'lefex' ]; function getCoreCommitters() { diff --git a/src/util.js b/src/util.js index 334772a..81400eb 100644 --- a/src/util.js +++ b/src/util.js @@ -1,4 +1,4 @@ -const text = require('./src/text'); +const text = require('./text'); function removeCodeAndComment(body) { return body - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-doc] branch dev updated: feat(doc): add doc for apache/echarts#16904
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch dev in repository https://gitbox.apache.org/repos/asf/echarts-doc.git The following commit(s) were added to refs/heads/dev by this push: new 94e98e02 feat(doc): add doc for apache/echarts#16904 94e98e02 is described below commit 94e98e02c84da9e8dabb141c50cee399347ae2a6 Author: Ovilia AuthorDate: Mon Jun 13 15:53:40 2022 +0800 feat(doc): add doc for apache/echarts#16904 --- en/option/series/graph.md | 7 +++ en/option/series/map.md | 10 +- en/option/series/tree.md | 7 +++ zh/option/series/graph.md | 7 +++ zh/option/series/map.md | 10 +- zh/option/series/tree.md | 7 +++ 6 files changed, 30 insertions(+), 18 deletions(-) diff --git a/en/option/series/graph.md b/en/option/series/graph.md index cf549274..e6dc7886 100644 --- a/en/option/series/graph.md +++ b/en/option/series/graph.md @@ -31,15 +31,15 @@ Graph is a diagram to represent [nodes](~series-graph.nodes) and the [links](~se calendar = true ) }} -## center(Array) +## center(Array.) -Center of current view-port. +Center of current view-port. It can be an arrary containing two `number`s in pixels or `string`s in percentage relative to the container width/height. Example: ```ts -center: [115.97, 29.71] +center: [115.97, '30%'] ``` ## zoom(number) = 1 @@ -698,4 +698,3 @@ Label position, options: prefix = "", defaultShow = true ) }} - diff --git a/en/option/series/map.md b/en/option/series/map.md index 82a8c82d..c9e461ec 100644 --- a/en/option/series/map.md +++ b/en/option/series/map.md @@ -24,6 +24,15 @@ Series of same [map type](~series-map.map) will show in one map. At this point, inMap = true ) }} +## center(Array.) + +Center of current view-port. It can be an arrary containing two `number`s in pixels or `string`s in percentage relative to the container width/height. + +Example: +```ts +center: [115.97, '30%'] +``` + ## geoIndex(number) = null In default case, map series create exclusive `geo` component for themselves. But `geoIndex` can be used to specify an outer [geo component](~geo), which can be shared with other series like [pie](~series-pie). Moreover, the region color of the outer [geo component](~geo) can be controlled by the map series (via [visualMap](~visualMap)). @@ -211,4 +220,3 @@ The color of the map area. {{ use: partial-label-line( prefix = '' ) }} - diff --git a/en/option/series/tree.md b/en/option/series/tree.md index fcfe84bc..5fe654d8 100644 --- a/en/option/series/tree.md +++ b/en/option/series/tree.md @@ -35,13 +35,13 @@ The tree diagram is mainly used to visualize the tree data structure, which is a defaultHeight = 'null' ) }} -## center(Array) +## center(Array.) -Center of current view-port. +Center of current view-port. It can be an arrary containing two `number`s in pixels or `string`s in percentage relative to the container width/height. Example: ```ts -center: [115.97, 29.71] +center: [115.97, '30%'] ``` ## zoom(number) = 1 @@ -471,4 +471,3 @@ Defines the style of the tree edge. prefix = ${prefix}, state = ${state} ) }} - diff --git a/zh/option/series/graph.md b/zh/option/series/graph.md index 59219240..769e9154 100644 --- a/zh/option/series/graph.md +++ b/zh/option/series/graph.md @@ -40,15 +40,15 @@ option.series[0].data.forEach(function (item) { calendar = true ) }} -## center(Array) +## center(Array.) -当前视角的中心点 +当前视角的中心点。可以是包含两个 `number` 类型(表示像素值)或 `string` 类型(表示相对容器的百分比)的数组。 例如: ```ts -center: [115.97, 29.71] +center: [115.97, '30%'] ``` ## zoom(number) = 1 @@ -706,4 +706,3 @@ links: [{ prefix = "", defaultShow = true ) }} - diff --git a/zh/option/series/map.md b/zh/option/series/map.md index e23e1a0a..a57b2b40 100644 --- a/zh/option/series/map.md +++ b/zh/option/series/map.md @@ -26,6 +26,15 @@ inMap = true ) }} +## center(Array.) + +当前视角的中心点。可以是包含两个 `number` 类型(表示像素值)或 `string` 类型(表示相对容器的百分比)的数组。 + +例如: +```ts +center: [115.97, '30%'] +``` + ## geoIndex(number) = null 默认情况下,map series 会自己生成内部专用的 `geo` 组件。但是也可以用这个 `geoIndex` 指定一个 [geo](~geo) 组件。这样的话,map 和 其他 series(例如散点图)就可以共享一个 [geo](~geo) 组件了。并且,[geo](~geo) 组件的颜色也可以被这个 map series 控制,从而用 [visualMap](~visualMap) 来更改。 @@ -208,4 +217,3 @@ {{ use: partial-label-line( prefix = '' ) }} - diff --git a/zh/option/series/tree.md b/zh/option/series/tree.md index 925f8768..e32129e3 100644 --- a/zh/option/series/tree.md +++ b/zh/option/series/tree.md @@ -78,13 +78,13 @@ const option = { defaultHeight = 'null' ) }} -## center(Array) +## center(Array.) -当前视角的中心点 +当前视角的中心点。可以是包含两个 `number` 类型(表示像素值)或 `string` 类型(表示相对容器的百分比)的数组。 例如: ```ts -center: [115.97, 29.71] +center: [115.97, '30%'] ``` ## zoom(number) = 1 @@ -514,4 +514,3 @@ center: [115.97, 29.71] prefix = ${prefix},
[echarts] 01/01: Merge pull request #17201 from apache/fix-pr
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git commit 5d813ddccb1fd962a7dd743d3117ff8411e838e9 Merge: 1047e897b 905b32405 Author: Wenli Zhang AuthorDate: Mon Jun 13 15:41:05 2022 +0800 Merge pull request #17201 from apache/fix-pr chore: update pr template to improve doc control .github/pull_request_template.md | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch master updated (1047e897b -> 5d813ddcc)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git from 1047e897b Merge pull request #17193 from kxxoling/fix-typo add 905b32405 chore: update pr template to improve doc control new 5d813ddcc Merge pull request #17201 from apache/fix-pr 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: .github/pull_request_template.md | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] 01/01: chore: update pr template to improve doc control
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch fix-pr in repository https://gitbox.apache.org/repos/asf/echarts.git commit 905b32405f10c7e2b5fb522759120b4bcaba5ab8 Author: Ovilia AuthorDate: Mon Jun 13 12:28:30 2022 +0800 chore: update pr template to improve doc control --- .github/pull_request_template.md | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 4b6b673ce..1f02a0e75 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -33,7 +33,7 @@ This pull request is in the type of: -### After: How is it fixed in this PR? +### After: How does it behave after the fixing? @@ -41,11 +41,20 @@ This pull request is in the type of: +## Document Info + +One of the following should be checked. + +- [ ] This PR doesn't relate to document changes +- [ ] The document should be updated later +- [ ] The document changes have been made in apache/echarts-doc#xxx + + + ## Misc - +### ZRender Changes -- [ ] The API has been changed (apache/echarts-doc#xxx). - [ ] This PR depends on ZRender changes (ecomfe/zrender#xxx). ### Related test cases or examples to use the new APIs - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch fix-pr created (now 905b32405)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch fix-pr in repository https://gitbox.apache.org/repos/asf/echarts.git at 905b32405 chore: update pr template to improve doc control This branch includes the following new commits: new 905b32405 chore: update pr template to improve doc control 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 master updated: fix(typo): Trasition -> Transition
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git The following commit(s) were added to refs/heads/master by this push: new 032e73835 fix(typo): Trasition -> Transition new 1047e897b Merge pull request #17193 from kxxoling/fix-typo 032e73835 is described below commit 032e73835f178e783285c122b5e052e82c86b787 Author: Kane Blueriver AuthorDate: Thu Jun 9 23:44:11 2022 +0800 fix(typo): Trasition -> Transition --- src/animation/{basicTrasition.ts => basicTransition.ts} | 0 src/animation/customGraphicKeyframeAnimation.ts | 2 +- src/animation/customGraphicTransition.ts| 2 +- src/animation/morphTransitionHelper.ts | 2 +- src/animation/universalTransition.ts| 2 +- src/chart/bar/BarView.ts| 2 +- src/chart/boxplot/BoxplotView.ts| 2 +- src/chart/candlestick/CandlestickView.ts| 2 +- src/chart/funnel/FunnelView.ts | 2 +- src/chart/helper/Symbol.ts | 2 +- src/chart/parallel/ParallelView.ts | 2 +- src/chart/pie/PieView.ts| 2 +- src/chart/radar/RadarView.ts| 2 +- src/chart/sunburst/SunburstPiece.ts | 2 +- src/chart/themeRiver/ThemeRiverView.ts | 2 +- src/component/graphic/GraphicView.ts| 2 +- src/util/graphic.ts | 2 +- 17 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/animation/basicTrasition.ts b/src/animation/basicTransition.ts similarity index 100% rename from src/animation/basicTrasition.ts rename to src/animation/basicTransition.ts diff --git a/src/animation/customGraphicKeyframeAnimation.ts b/src/animation/customGraphicKeyframeAnimation.ts index 53f9fbbdd..196c5fcb3 100644 --- a/src/animation/customGraphicKeyframeAnimation.ts +++ b/src/animation/customGraphicKeyframeAnimation.ts @@ -23,7 +23,7 @@ import { keys, filter, each, isArray, indexOf } from 'zrender/src/core/util'; import { ELEMENT_ANIMATABLE_PROPS } from './customGraphicTransition'; import { AnimationOption, AnimationOptionMixin, Dictionary } from '../util/types'; import { Model } from '../echarts.all'; -import { getAnimationConfig } from './basicTrasition'; +import { getAnimationConfig } from './basicTransition'; import { warn } from '../util/log'; import { makeInner } from '../util/model'; diff --git a/src/animation/customGraphicTransition.ts b/src/animation/customGraphicTransition.ts index e1cdb68da..73c12401a 100644 --- a/src/animation/customGraphicTransition.ts +++ b/src/animation/customGraphicTransition.ts @@ -25,7 +25,7 @@ import { assert, bind, each, eqNaN, extend, hasOwn, indexOf, isArrayLike, keys, import { cloneValue } from 'zrender/src/animation/Animator'; import Displayable, { DisplayableProps } from 'zrender/src/graphic/Displayable'; import Model from '../model/Model'; -import { getAnimationConfig } from './basicTrasition'; +import { getAnimationConfig } from './basicTransition'; import { Path } from '../util/graphic'; import { warn } from '../util/log'; import { AnimationOption, AnimationOptionMixin, ZRStyleProps } from '../util/types'; diff --git a/src/animation/morphTransitionHelper.ts b/src/animation/morphTransitionHelper.ts index 6caafe39f..f9672073c 100644 --- a/src/animation/morphTransitionHelper.ts +++ b/src/animation/morphTransitionHelper.ts @@ -29,7 +29,7 @@ import { Path } from '../util/graphic'; import SeriesModel from '../model/Series'; import Element, { ElementAnimateConfig } from 'zrender/src/Element'; import { defaults, isArray} from 'zrender/src/core/util'; -import { getAnimationConfig } from './basicTrasition'; +import { getAnimationConfig } from './basicTransition'; import { ECElement, UniversalTransitionOption } from '../util/types'; import { clonePath } from 'zrender/src/tool/path'; import Model from '../model/Model'; diff --git a/src/animation/universalTransition.ts b/src/animation/universalTransition.ts index 0ccae0636..dabd7ee3e 100644 --- a/src/animation/universalTransition.ts +++ b/src/animation/universalTransition.ts @@ -37,7 +37,7 @@ import { import { makeInner, normalizeToArray } from '../util/model'; import { warn } from '../util/log'; import ExtensionAPI from '../core/ExtensionAPI'; -import { getAnimationConfig, getOldStyle } from './basicTrasition'; +import { getAnimationConfig, getOldStyle } from './basicTransition'; import Model from '../model/Model'; import Displayable from 'zrender/src/graphic/Displayable'; diff --git a/src/chart/bar/BarView.ts b/src/chart/bar/BarView.ts index 70e6c3467..a5c99d0bd 100644 --- a/src/chart/bar/BarView.ts +++ b/src/chart/bar/BarView.ts @@ -64,7 +64,7 @@ import {LayoutRect} from '../../util/layout'
[echarts-doc] branch dev updated: fix: translation of apache/echarts#17086
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch dev in repository https://gitbox.apache.org/repos/asf/echarts-doc.git The following commit(s) were added to refs/heads/dev by this push: new bee3b504 fix: translation of apache/echarts#17086 bee3b504 is described below commit bee3b504e0fa1ebcfeda07b3ebf36b52a417b4e4 Author: Ovilia AuthorDate: Mon Jun 13 10:57:08 2022 +0800 fix: translation of apache/echarts#17086 --- en/option/series/bar.md | 1 + en/option/series/line.md | 2 +- zh/option/series/bar.md | 16 zh/option/series/line.md | 18 -- 4 files changed, 18 insertions(+), 19 deletions(-) diff --git a/en/option/series/bar.md b/en/option/series/bar.md index 1460cedb..ac4cc77d 100644 --- a/en/option/series/bar.md +++ b/en/option/series/bar.md @@ -151,6 +151,7 @@ version = '5.3.3' ) }} How to stack values if the [stack](~series-bar.stack) property has been set. Options: + + `'samesign'`: only stack values if the value to be stacked has the same sign as the currently cumulated stacked value. + `'all'`: stack all values, irrespective of the signs of the current or cumulative stacked value. + `'positive'`: only stack positive values. diff --git a/en/option/series/line.md b/en/option/series/line.md index 3d16f7ac..de250c9a 100644 --- a/en/option/series/line.md +++ b/en/option/series/line.md @@ -75,6 +75,7 @@ version = '5.3.3' ) }} How to stack values if the [stack](~series-line.stack) property has been set. Options: + + `'samesign'`: only stack values if the value to be stacked has the same sign as the currently cumulated stacked value. + `'all'`: stack all values, irrespective of the signs of the current or cumulative stacked value. + `'positive'`: only stack positive values. @@ -490,4 +491,3 @@ Select state of specified single data. prefix = "", hasInherit = ${state} === 'emphasis' ) }} - diff --git a/zh/option/series/bar.md b/zh/option/series/bar.md index 518d848c..b8c744f2 100644 --- a/zh/option/series/bar.md +++ b/zh/option/series/bar.md @@ -216,9 +216,9 @@ option = { ## stack(string) = null -数据堆叠,同个类目轴上系列配置相同的`stack`值可以堆叠放置。参见[stackStrategy](~series-line.stackStrategy)关于如何定制数值的堆叠方式。 +数据堆叠,同个类目轴上系列配置相同的 `stack` 值可以堆叠放置。关于如何定制数值的堆叠方式,参见 [stackStrategy](~series-bar.stackStrategy)。 -注:目前`stack`只支持堆叠于 `value` 和 `log` 类型的类目轴上,不支持 `time` 和 `category` 类型的类目轴。 +注:目前 `stack` 只支持堆叠于 `'value'` 和 `'log'` 类型的类目轴上,不支持 `'time'` 和 `'category'` 类型的类目轴。 ## stackStrategy(string) = 'samesign' @@ -226,11 +226,12 @@ option = { version = '5.3.3' ) }} -如果[stack](~series-bar.stack)属性已被设置,如何堆积数值。选项。 -+ `'samesign'` 只在要堆叠的值与当前累积的堆叠值具有相同的符号时才堆叠。 -+ `'all' 堆叠所有的值,不管当前或累积的堆叠值的符号是什么。 -+ `'positive' 只堆积正值。 -+ `'negatve' 只堆叠负值。 +堆积数值的策略,前提是[stack](~series-bar.stack)属性已被设置。其值可以是: + ++ `'samesign'` 只在要堆叠的值与当前累积的堆叠值具有相同的正负符号时才堆叠。 ++ `'all' 堆叠所有的值,不管当前或累积的堆叠值的正负符号是什么。 ++ `'positive'` 只堆积正值。 ++ `'negatve'` 只堆叠负值。 ## sampling(string) @@ -512,4 +513,3 @@ option = { prefix = '#' + ${prefix} ) }} {{ /if }} - diff --git a/zh/option/series/line.md b/zh/option/series/line.md index 0a2d3c66..87110cb5 100644 --- a/zh/option/series/line.md +++ b/zh/option/series/line.md @@ -87,11 +87,9 @@ const option = { ## stack(string) = null -数据堆叠,同个类目轴上系列配置相同的`stack`值后,后一个系列的值会在前一个系列的值上相加。 +数据堆叠,同个类目轴上系列配置相同的 `stack` 值可以堆叠放置。关于如何定制数值的堆叠方式,参见 [stackStrategy](~series-line.stackStrategy)。 -参见[stackStrategy](~series-line.stackStrategy)关于如何定制数值的堆叠方式。 - -注:目前`stack`只支持堆叠于 `value` 和 `log` 类型的类目轴上,不支持 `time` 和 `category` 类型的类目轴。 +注:目前 `stack` 只支持堆叠于 `'value'` 和 `'log'` 类型的类目轴上,不支持 `'time'` 和 `'category'` 类型的类目轴。 下面示例可以通过右上角 [toolbox](~toolbox) 中的堆叠切换看效果: @@ -103,11 +101,12 @@ const option = { version = '5.3.3' ) }} -如果[stack](~series-bar.stack)属性已被设置,如何堆积数值。选项。 -+ `'samesign'` 只在要堆叠的值与当前累积的堆叠值具有相同的符号时才堆叠。 -+ `'all' 堆叠所有的值,不管当前或累积的堆叠值的符号是什么。 -+ `'positive' 只堆积正值。 -+ `'negatve' 只堆叠负值。 +堆积数值的策略,前提是[stack](~series-line.stack)属性已被设置。其值可以是: + ++ `'samesign'` 只在要堆叠的值与当前累积的堆叠值具有相同的正负符号时才堆叠。 ++ `'all' 堆叠所有的值,不管当前或累积的堆叠值的正负符号是什么。 ++ `'positive'` 只堆积正值。 ++ `'negatve'` 只堆叠负值。 {{ use: partial-cursor() }} @@ -521,4 +520,3 @@ const option = { prefix = "", hasInherit = ${state} === 'emphasis' ) }} - - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-doc] 01/01: Merge branch 'master' into dev
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch dev in repository https://gitbox.apache.org/repos/asf/echarts-doc.git commit 6a2366ed992adfa6f906d834b0579ce117f480a1 Merge: 994bb1da e15313c8 Author: Ovilia AuthorDate: Mon Jun 13 10:09:17 2022 +0800 Merge branch 'master' into dev en/changelog.md | 27 +++ en/option-gl/partial/icon.md | 2 +- en/option/partial/icon.md| 2 +- en/option/partial/label-line.md | 12 en/option/series/effectScatter.md| 8 ++-- en/option/series/graph.md| 8 ++-- en/option/series/line.md | 8 ++-- en/option/series/pie.md | 14 +- en/option/series/scatter.md | 6 +- zh/option-gl/partial/icon.md | 2 +- zh/option/component/visual-map-continuous.md | 2 +- zh/option/partial/icon.md| 2 +- zh/option/partial/label-line.md | 12 zh/option/series/effectScatter.md| 8 ++-- zh/option/series/graph.md| 8 ++-- zh/option/series/line.md | 8 ++-- zh/option/series/pie.md | 14 +- zh/option/series/scatter.md | 6 +- 18 files changed, 128 insertions(+), 21 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-doc] branch dev updated (994bb1da -> 6a2366ed)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch dev in repository https://gitbox.apache.org/repos/asf/echarts-doc.git from 994bb1da fix translate issue add f9267716 fix(icon): still hide buggy icon `square`. add dfdf075c docs(visual-map-continuous): fix spelling error add 176d9baf Merge pull request #259 from ren-wei/master add 899069a5 fix: add version hint for `labelLine` & add `number` type to `emphasis.scale` for more series. add 44cb4f72 doc: update changelog of 5.3.3 add a377c4a4 doc: update style of changelog add 5cc475f4 doc: update changelog description add e15313c8 doc: update expression in the changelog new 6a2366ed Merge branch 'master' into 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: en/changelog.md | 27 +++ en/option-gl/partial/icon.md | 2 +- en/option/partial/icon.md| 2 +- en/option/partial/label-line.md | 12 en/option/series/effectScatter.md| 8 ++-- en/option/series/graph.md| 8 ++-- en/option/series/line.md | 8 ++-- en/option/series/pie.md | 14 +- en/option/series/scatter.md | 6 +- zh/option-gl/partial/icon.md | 2 +- zh/option/component/visual-map-continuous.md | 2 +- zh/option/partial/icon.md| 2 +- zh/option/partial/label-line.md | 12 zh/option/series/effectScatter.md| 8 ++-- zh/option/series/graph.md| 8 ++-- zh/option/series/line.md | 8 ++-- zh/option/series/pie.md | 14 +- zh/option/series/scatter.md | 6 +- 18 files changed, 128 insertions(+), 21 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
svn commit: r55038 - in /dev/echarts/5.3.3-rc.1: ./ RELEASE_NOTE.txt apache-echarts-5.3.3-rc.1-src.zip apache-echarts-5.3.3-rc.1-src.zip.asc apache-echarts-5.3.3-rc.1-src.zip.sha512
Author: ovilia Date: Fri Jun 10 10:11:20 2022 New Revision: 55038 Log: prerelease Added: dev/echarts/5.3.3-rc.1/ dev/echarts/5.3.3-rc.1/RELEASE_NOTE.txt dev/echarts/5.3.3-rc.1/apache-echarts-5.3.3-rc.1-src.zip (with props) dev/echarts/5.3.3-rc.1/apache-echarts-5.3.3-rc.1-src.zip.asc (with props) dev/echarts/5.3.3-rc.1/apache-echarts-5.3.3-rc.1-src.zip.sha512 Added: dev/echarts/5.3.3-rc.1/RELEASE_NOTE.txt == --- dev/echarts/5.3.3-rc.1/RELEASE_NOTE.txt (added) +++ dev/echarts/5.3.3-rc.1/RELEASE_NOTE.txt Fri Jun 10 10:11:20 2022 @@ -0,0 +1,26 @@ +## 5.3.3 + ++ [Feature] [bar] add new stacking strategies. [#17086](https://github.com/apache/echarts/issues/17086) ([villebro](https://github.com/villebro)) ++ [Feature] [tree] `tree` focus supports `relative`. [#17009](https://github.com/apache/echarts/issues/17009) ([susiwen8](https://github.com/susiwen8)) ++ [Feature] [visualMap] `selectedMode` supports `boolean`. [#16972](https://github.com/apache/echarts/issues/16972) ([susiwen8](https://github.com/susiwen8)) ++ [Feature] [graph] [tree] [map] series `center` of view supports `string`. [#16904](https://github.com/apache/echarts/issues/16904) ([susiwen8](https://github.com/susiwen8)) ++ [Fix] [line] fix polygon not being updated when switching from line chart to step line chart with `notMerge: true`. [#16772](https://github.com/apache/echarts/issues/16772) ([jiawulin001](https://github.com/jiawulin001)) ++ [Fix] [tree] fix radial tree with a single root not working. [#16950](https://github.com/apache/echarts/issues/16950) ([fuchunhui](https://github.com/fuchunhui)) ++ [Fix] [tree] fix unexpected expanded children when edgeShape is polyline. [#16548](https://github.com/apache/echarts/issues/16548) ([linghaoSu](https://github.com/linghaoSu)) ++ [Fix] [graph] fix user cursor setting not being respected. [#16867](https://github.com/apache/echarts/issues/16867) ([susiwen8](https://github.com/susiwen8)) ++ [Fix] [graph] fix `autoCurveness` type. [#16897](https://github.com/apache/echarts/issues/16897) ([kongmoumou](https://github.com/kongmoumou)) ++ [Fix] [radar] fix names being `-` in tooltip when `name.show` is `false`. [#15985](https://github.com/apache/echarts/issues/15985) ([Ovilia](https://github.com/Ovilia)) ++ [Fix] [radar] fix regression bug brought by branch merging. [#16764](https://github.com/apache/echarts/issues/16764) ([plainheart](https://github.com/plainheart)) ++ [Fix] [geo] fix linesGL series not render. [#17150](https://github.com/apache/echarts/issues/17150) ([plainheart](https://github.com/plainheart)) ++ [Fix] [pictorialBar] improve PictorialBarSeriesOption type definition. [#17155](https://github.com/apache/echarts/issues/17155) ([dmzc](https://github.com/dmzc)) ++ [Fix] [tooltip] fix content changes with axis extent when 'triggerOn' set to 'click'. [#16939](https://github.com/apache/echarts/issues/16939) ([jiawulin001](https://github.com/jiawulin001)) ++ [Fix] [dataZoom] fix `borderColor` may not work in some bundle environments. [#16854](https://github.com/apache/echarts/issues/16854) ([Ling310](https://github.com/Ling310)) ++ [Fix] [markLine] fix markLine label showing wrong tooltip content. [#16971](https://github.com/apache/echarts/issues/16971) ([plainheart](https://github.com/plainheart)) ++ [Fix] [markArea] fix markArea may be filtered unexpectedly. [#16861](https://github.com/apache/echarts/issues/16861) ([jiawulin001](https://github.com/jiawulin001)) ++ [Fix] [axis] fix `{yy}` not being padded to 2 digits. [#17064](https://github.com/apache/echarts/issues/17064) ([Fritzbox2000](https://github.com/Fritzbox2000)) ++ [Fix] [axis] fix quarters splitting the year into 4 quarters not 3. [#17073](https://github.com/apache/echarts/issues/17073) ([Fritzbox2000](https://github.com/Fritzbox2000)) ++ [Fix] [axis] fix custom series not working on singleAxis. [#16850](https://github.com/apache/echarts/issues/16850) ([benlongo](https://github.com/benlongo)) ++ [Fix] [graphic] fix some options may be unexpectedly reset on update. [#17007](https://github.com/apache/echarts/issues/17007) ([plainheart](https://github.com/plainheart)) ++ [Fix] [decal] fix pattern not changing after set `legend.itemStyle.decal` to be `'none'`. [#16922](https://github.com/apache/echarts/issues/16922) ([jiawulin001](https://github.com/jiawulin001)) ++ [Fix] [radialGradient] add safe guarding for radial gradient. [#898](https://github.com/ecomfe/zrender/issues/898). [#919](https://github.com/ecomfe/zrender/issues/919) ([lefex](https://github.com/lefex)) ([Ovilia](https://github.com/Ovilia)) ++ [Fix] [types] fix typo in `DataStore`. [#16824](https://github.com/apache/echarts/issues/16824) ([XXXMrG](https://github.com/XXXMrG)) \ No newline at end of file Added: dev/echarts/5.3.3-rc.1/apache-echarts-5.3.3-rc.1-src.zip
[echarts-doc] branch master updated: doc: update expression in the changelog
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-doc.git The following commit(s) were added to refs/heads/master by this push: new e15313c8 doc: update expression in the changelog e15313c8 is described below commit e15313c8eb577373fd5f70c1b13a5a25d7c68046 Author: Wenli Zhang AuthorDate: Fri Jun 10 16:17:07 2022 +0800 doc: update expression in the changelog --- en/changelog.md | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/en/changelog.md b/en/changelog.md index b13091c8..3fba71cb 100644 --- a/en/changelog.md +++ b/en/changelog.md @@ -4,25 +4,25 @@ + [Feature] [tree] `tree` focus supports `relative`. [#17009](https://github.com/apache/echarts/issues/17009) ([susiwen8](https://github.com/susiwen8)) + [Feature] [visualMap] `selectedMode` supports `boolean`. [#16972](https://github.com/apache/echarts/issues/16972) ([susiwen8](https://github.com/susiwen8)) + [Feature] [graph] [tree] [map] series `center` of view supports `string`. [#16904](https://github.com/apache/echarts/issues/16904) ([susiwen8](https://github.com/susiwen8)) -+ [Fix] [line] fix polygon not updated when switching from line chart to step line chart with notMerge: true. [#16772](https://github.com/apache/echarts/issues/16772) ([jiawulin001](https://github.com/jiawulin001)) -+ [Fix] [tree] fix radial tree with single root doesn't work. [#16950](https://github.com/apache/echarts/issues/16950) ([fuchunhui](https://github.com/fuchunhui)) ++ [Fix] [line] fix polygon not being updated when switching from line chart to step line chart with `notMerge: true`. [#16772](https://github.com/apache/echarts/issues/16772) ([jiawulin001](https://github.com/jiawulin001)) ++ [Fix] [tree] fix radial tree with a single root not working. [#16950](https://github.com/apache/echarts/issues/16950) ([fuchunhui](https://github.com/fuchunhui)) + [Fix] [tree] fix unexpected expanded children when edgeShape is polyline. [#16548](https://github.com/apache/echarts/issues/16548) ([linghaoSu](https://github.com/linghaoSu)) -+ [Fix] [graph] fix user cursor has higher priority. [#16867](https://github.com/apache/echarts/issues/16867) ([susiwen8](https://github.com/susiwen8)) ++ [Fix] [graph] fix user cursor setting not being respected. [#16867](https://github.com/apache/echarts/issues/16867) ([susiwen8](https://github.com/susiwen8)) + [Fix] [graph] fix `autoCurveness` type. [#16897](https://github.com/apache/echarts/issues/16897) ([kongmoumou](https://github.com/kongmoumou)) + [Fix] [radar] fix names being `-` in tooltip when `name.show` is `false`. [#15985](https://github.com/apache/echarts/issues/15985) ([Ovilia](https://github.com/Ovilia)) + [Fix] [radar] fix regression bug brought by branch merging. [#16764](https://github.com/apache/echarts/issues/16764) ([plainheart](https://github.com/plainheart)) + [Fix] [geo] fix linesGL series not render. [#17150](https://github.com/apache/echarts/issues/17150) ([plainheart](https://github.com/plainheart)) -+ [Fix] [pictorialBar] fix improve PictorialBarSeriesOption type definition. [#17155](https://github.com/apache/echarts/issues/17155) ([dmzc](https://github.com/dmzc)) ++ [Fix] [pictorialBar] improve PictorialBarSeriesOption type definition. [#17155](https://github.com/apache/echarts/issues/17155) ([dmzc](https://github.com/dmzc)) + [Fix] [tooltip] fix content changes with axis extent when 'triggerOn' set to 'click'. [#16939](https://github.com/apache/echarts/issues/16939) ([jiawulin001](https://github.com/jiawulin001)) + [Fix] [dataZoom] fix `borderColor` may not work in some bundle environments. [#16854](https://github.com/apache/echarts/issues/16854) ([Ling310](https://github.com/Ling310)) -+ [Fix] [markLine] fix markLine label shows wrong tooltip content. [#16971](https://github.com/apache/echarts/issues/16971) ([plainheart](https://github.com/plainheart)) ++ [Fix] [markLine] fix markLine label showing wrong tooltip content. [#16971](https://github.com/apache/echarts/issues/16971) ([plainheart](https://github.com/plainheart)) + [Fix] [markArea] fix markArea may be filtered unexpectedly. [#16861](https://github.com/apache/echarts/issues/16861) ([jiawulin001](https://github.com/jiawulin001)) + [Fix] [axis] fix `{yy}` not being padded to 2 digits. [#17064](https://github.com/apache/echarts/issues/17064) ([Fritzbox2000](https://github.com/Fritzbox2000)) + [Fix] [axis] fix quarters splitting the year into 4 quarters not 3. [#17073](https://github.com/apache/echarts/issues/17073) ([Fritzbox2000](https://github.com/Fritzbox2000)) + [Fix] [axis] fix custom series not working on singleAxis. [#16850](https://github.com/apache/echarts/issues/16850) ([benlongo](https://github.com/benlongo)) + [Fix] [graphic] fix some options may be unexpectedly reset on update. [#17007](https://github.com/apache/echarts/issues
[echarts-doc] branch master updated: doc: update changelog description
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-doc.git The following commit(s) were added to refs/heads/master by this push: new 5cc475f4 doc: update changelog description 5cc475f4 is described below commit 5cc475f4fead16b516b88cdd7caec86b8eec2c3a Author: Wenli Zhang AuthorDate: Fri Jun 10 15:54:14 2022 +0800 doc: update changelog description --- en/changelog.md | 44 +--- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/en/changelog.md b/en/changelog.md index d757248e..b13091c8 100644 --- a/en/changelog.md +++ b/en/changelog.md @@ -1,31 +1,29 @@ ## v5.3.3 -2022-06-10 - + [Feature] [bar] add new stacking strategies. [#17086](https://github.com/apache/echarts/issues/17086) ([villebro](https://github.com/villebro)) + [Feature] [tree] `tree` focus supports `relative`. [#17009](https://github.com/apache/echarts/issues/17009) ([susiwen8](https://github.com/susiwen8)) + [Feature] [visualMap] `selectedMode` supports `boolean`. [#16972](https://github.com/apache/echarts/issues/16972) ([susiwen8](https://github.com/susiwen8)) -+ [Feature] series `center` of view supports `string`. [#16904](https://github.com/apache/echarts/issues/16904) ([susiwen8](https://github.com/susiwen8)) -+ [Fix] [line] areaStyle with polygons when `notMerge` is `true`. [#16772](https://github.com/apache/echarts/issues/16772) ([jiawulin001](https://github.com/jiawulin001)) -+ [Fix] [tree] radial tree with single root doesn't work. [#16950](https://github.com/apache/echarts/issues/16950) ([fuchunhui](https://github.com/fuchunhui)) -+ [Fix] [tree] unexpected expand. [#16548](https://github.com/apache/echarts/issues/16548) ([linghaoSu](https://github.com/linghaoSu)) -+ [Fix] [graph] user cursor has higher priority. [#16867](https://github.com/apache/echarts/issues/16867) ([susiwen8](https://github.com/susiwen8)) -+ [Fix] [graph] `autoCurveness` type. [#16897](https://github.com/apache/echarts/issues/16897) ([kongmoumou](https://github.com/kongmoumou)) -+ [Fix] [radar] names being `-` in tooltip when `name.show` is `false`. [#15985](https://github.com/apache/echarts/issues/15985) ([Ovilia](https://github.com/Ovilia)) -+ [Fix] [radar] regression bug brought by branch merging. [#16764](https://github.com/apache/echarts/issues/16764) ([plainheart](https://github.com/plainheart)) -+ [Fix] [geo] `dataToPoint` may not be working in lineGL series. [#17150](https://github.com/apache/echarts/issues/17150) ([plainheart](https://github.com/plainheart)) -+ [Fix] [pictorialBar] improve PictorialBarSeriesOption type definition. [#17155](https://github.com/apache/echarts/issues/17155) ([dmzc](https://github.com/dmzc)) -+ [Fix] [tooltip] content changes with axis extent when 'triggerOn' set to 'click'. [#16939](https://github.com/apache/echarts/issues/16939) ([jiawulin001](https://github.com/jiawulin001)) -+ [Fix] [dataZoom] `borderColor` may not work in some bundle environments. [#16854](https://github.com/apache/echarts/issues/16854) ([Ling310](https://github.com/Ling310)) -+ [Fix] [markLine] markLine label shows wrong tooltip content. [#16971](https://github.com/apache/echarts/issues/16971) ([plainheart](https://github.com/plainheart)) -+ [Fix] [markArea] markArea display filter correction. [#16861](https://github.com/apache/echarts/issues/16861) ([jiawulin001](https://github.com/jiawulin001)) -+ [Fix] [timeAxis] `{yy}` should be padded to 2 digits. [#17064](https://github.com/apache/echarts/issues/17064) ([Fritzbox2000](https://github.com/Fritzbox2000)) -+ [Fix] [timeAxis] quarters split the year into 4 quarters not 3. [#17073](https://github.com/apache/echarts/issues/17073) ([Fritzbox2000](https://github.com/Fritzbox2000)) -+ [Fix] [singleAxis] `prepareCustoms` key for single axes. [#16850](https://github.com/apache/echarts/issues/16850) ([benlongo](https://github.com/benlongo)) -+ [Fix] [graphic] some options may be unexpectedly reset on update. [#17007](https://github.com/apache/echarts/issues/17007) ([plainheart](https://github.com/plainheart)) -+ [Fix] [decal] pattern not change after set `legend.itemStyle.decal` to be `'none'`. [#16922](https://github.com/apache/echarts/issues/16922) ([jiawulin001](https://github.com/jiawulin001)) -+ [Fix] [radialGradient] safe guarding for radial gradient. [#898](https://github.com/ecomfe/zrender/issues/898). [#919](https://github.com/ecomfe/zrender/issues/919) ([lefex](https://github.com/lefex)) ([Ovilia](https://github.com/Ovilia)) -+ [Fix] typo in `DataStore`. [#16824](https://github.com/apache/echarts/issues/16824) ([XXXMrG](https://github.com/XXXMrG)) ++ [Feature] [graph] [tree] [map] series `center` of view supports `string`. [#16904](https://github.com/apache/echarts/issues/16904) ([susiwen8](https://github.com/susiwen8)) ++ [Fix] [line] fix polygon not updated
[echarts-doc] branch master updated: doc: update style of changelog
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-doc.git The following commit(s) were added to refs/heads/master by this push: new a377c4a4 doc: update style of changelog a377c4a4 is described below commit a377c4a404994ec857b6b101869a162d9488a0af Author: Wenli Zhang AuthorDate: Fri Jun 10 14:13:20 2022 +0800 doc: update style of changelog --- en/changelog.md | 48 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/en/changelog.md b/en/changelog.md index 274ce4ed..d757248e 100644 --- a/en/changelog.md +++ b/en/changelog.md @@ -2,30 +2,30 @@ 2022-06-10 -+ [Feature] [bar]: add new stacking strategies [#17086](https://github.com/apache/echarts/issues/17086) ([villebro](https://github.com/villebro)) -+ [Feature] [tree]: `tree` focus supports `relative` [#17009](https://github.com/apache/echarts/issues/17009) ([susiwen8](https://github.com/susiwen8)) -+ [Feature] [visualMap]: `selectedMode` supports `boolean` [#16972](https://github.com/apache/echarts/issues/16972) ([susiwen8](https://github.com/susiwen8)) -+ [Feature]: series `center` of view supports `string` [#16904](https://github.com/apache/echarts/issues/16904) ([susiwen8](https://github.com/susiwen8)) -+ [Fix] [line]: areaStyle with polygons when `notMerge` is `true` [#16772](https://github.com/apache/echarts/issues/16772) ([jiawulin001](https://github.com/jiawulin001)) -+ [Fix] [tree]: radial tree with single root doesn't work [#16950](https://github.com/apache/echarts/issues/16950) ([fuchunhui](https://github.com/fuchunhui)) -+ [Fix] [tree]: unexpected expand [#16548](https://github.com/apache/echarts/issues/16548) ([linghaoSu](https://github.com/linghaoSu)) -+ [Fix] [graph]: user cursor has higher priority [#16867](https://github.com/apache/echarts/issues/16867) ([susiwen8](https://github.com/susiwen8)) -+ [Fix] [graph]: `autoCurveness` type [#16897](https://github.com/apache/echarts/issues/16897) ([kongmoumou](https://github.com/kongmoumou)) -+ [Fix] [radar]: names being `-` in tooltip when `name.show` is `false` [#15985](https://github.com/apache/echarts/issues/15985) ([Ovilia](https://github.com/Ovilia)) -+ [Fix] [radar]: regression bug brought by branch merging. [#16764](https://github.com/apache/echarts/issues/16764) ([plainheart](https://github.com/plainheart)) -+ [Fix] [geo]: `dataToPoint` may not be working in lineGL series. [#17150](https://github.com/apache/echarts/issues/17150) ([plainheart](https://github.com/plainheart)) -+ [Fix] [pictorialBar]: improve PictorialBarSeriesOption type definition [#17155](https://github.com/apache/echarts/issues/17155) ([dmzc](https://github.com/dmzc)) -+ [Fix] [tooltip]: content changes with axis extent when 'triggerOn' set to 'click' [#16939](https://github.com/apache/echarts/issues/16939) ([jiawulin001](https://github.com/jiawulin001)) -+ [Fix] [dataZoom]: `borderColor` may not work in some bundle environments [#16854](https://github.com/apache/echarts/issues/16854) ([Ling310](https://github.com/Ling310)) -+ [Fix] [markLine]: markLine label shows wrong tooltip content [#16971](https://github.com/apache/echarts/issues/16971) ([plainheart](https://github.com/plainheart)) -+ [Fix] [markArea]: markArea display filter correction [#16861](https://github.com/apache/echarts/issues/16861) ([jiawulin001](https://github.com/jiawulin001)) -+ [Fix] [timeAxis]: `{yy}` should be padded to 2 digits [#17064](https://github.com/apache/echarts/issues/17064) ([Fritzbox2000](https://github.com/Fritzbox2000)) -+ [Fix] [timeAxis]: quarters split the year into 4 quarters not 3. [#17073](https://github.com/apache/echarts/issues/17073) ([Fritzbox2000](https://github.com/Fritzbox2000)) -+ [Fix] [singleAxis]: `prepareCustoms` key for single axes. [#16850](https://github.com/apache/echarts/issues/16850) ([benlongo](https://github.com/benlongo)) -+ [Fix] [graphic]: some options may be unexpectedly reset on update [#17007](https://github.com/apache/echarts/issues/17007) ([plainheart](https://github.com/plainheart)) -+ [Fix] [decal]: pattern not change after set `legend.itemStyle.decal` to be `'none'` [#16922](https://github.com/apache/echarts/issues/16922) ([jiawulin001](https://github.com/jiawulin001)) -+ [Fix] [radialGradient]: safe guarding for radial gradient [#898](https://github.com/ecomfe/zrender/issues/898) [#919](https://github.com/ecomfe/zrender/issues/919) ([lefex](https://github.com/lefex)) ([Ovilia](https://github.com/Ovilia)) -+ [Fix]: typo in `DataStore`. [#16824](https://github.com/apache/echarts/issues/16824) ([XXXMrG](https://github.com/XXXMrG)) ++ [Feature] [bar] add new stacking strategies. [#17086](https://github.com/apache/echarts/issues/17086) ([villebro](https://github.com/villebro)) ++ [Feature] [tree] `tree` focus supports `relative`. [#17009](https
[echarts-doc] branch master updated: doc: update changelog of 5.3.3
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-doc.git The following commit(s) were added to refs/heads/master by this push: new 44cb4f72 doc: update changelog of 5.3.3 44cb4f72 is described below commit 44cb4f72c401f6fc6f48018743eb93b40ffad8b7 Author: Wenli Zhang AuthorDate: Fri Jun 10 14:08:27 2022 +0800 doc: update changelog of 5.3.3 --- en/changelog.md | 29 + 1 file changed, 29 insertions(+) diff --git a/en/changelog.md b/en/changelog.md index df0a09f0..274ce4ed 100644 --- a/en/changelog.md +++ b/en/changelog.md @@ -1,3 +1,32 @@ +## v5.3.3 + +2022-06-10 + ++ [Feature] [bar]: add new stacking strategies [#17086](https://github.com/apache/echarts/issues/17086) ([villebro](https://github.com/villebro)) ++ [Feature] [tree]: `tree` focus supports `relative` [#17009](https://github.com/apache/echarts/issues/17009) ([susiwen8](https://github.com/susiwen8)) ++ [Feature] [visualMap]: `selectedMode` supports `boolean` [#16972](https://github.com/apache/echarts/issues/16972) ([susiwen8](https://github.com/susiwen8)) ++ [Feature]: series `center` of view supports `string` [#16904](https://github.com/apache/echarts/issues/16904) ([susiwen8](https://github.com/susiwen8)) ++ [Fix] [line]: areaStyle with polygons when `notMerge` is `true` [#16772](https://github.com/apache/echarts/issues/16772) ([jiawulin001](https://github.com/jiawulin001)) ++ [Fix] [tree]: radial tree with single root doesn't work [#16950](https://github.com/apache/echarts/issues/16950) ([fuchunhui](https://github.com/fuchunhui)) ++ [Fix] [tree]: unexpected expand [#16548](https://github.com/apache/echarts/issues/16548) ([linghaoSu](https://github.com/linghaoSu)) ++ [Fix] [graph]: user cursor has higher priority [#16867](https://github.com/apache/echarts/issues/16867) ([susiwen8](https://github.com/susiwen8)) ++ [Fix] [graph]: `autoCurveness` type [#16897](https://github.com/apache/echarts/issues/16897) ([kongmoumou](https://github.com/kongmoumou)) ++ [Fix] [radar]: names being `-` in tooltip when `name.show` is `false` [#15985](https://github.com/apache/echarts/issues/15985) ([Ovilia](https://github.com/Ovilia)) ++ [Fix] [radar]: regression bug brought by branch merging. [#16764](https://github.com/apache/echarts/issues/16764) ([plainheart](https://github.com/plainheart)) ++ [Fix] [geo]: `dataToPoint` may not be working in lineGL series. [#17150](https://github.com/apache/echarts/issues/17150) ([plainheart](https://github.com/plainheart)) ++ [Fix] [pictorialBar]: improve PictorialBarSeriesOption type definition [#17155](https://github.com/apache/echarts/issues/17155) ([dmzc](https://github.com/dmzc)) ++ [Fix] [tooltip]: content changes with axis extent when 'triggerOn' set to 'click' [#16939](https://github.com/apache/echarts/issues/16939) ([jiawulin001](https://github.com/jiawulin001)) ++ [Fix] [dataZoom]: `borderColor` may not work in some bundle environments [#16854](https://github.com/apache/echarts/issues/16854) ([Ling310](https://github.com/Ling310)) ++ [Fix] [markLine]: markLine label shows wrong tooltip content [#16971](https://github.com/apache/echarts/issues/16971) ([plainheart](https://github.com/plainheart)) ++ [Fix] [markArea]: markArea display filter correction [#16861](https://github.com/apache/echarts/issues/16861) ([jiawulin001](https://github.com/jiawulin001)) ++ [Fix] [timeAxis]: `{yy}` should be padded to 2 digits [#17064](https://github.com/apache/echarts/issues/17064) ([Fritzbox2000](https://github.com/Fritzbox2000)) ++ [Fix] [timeAxis]: quarters split the year into 4 quarters not 3. [#17073](https://github.com/apache/echarts/issues/17073) ([Fritzbox2000](https://github.com/Fritzbox2000)) ++ [Fix] [singleAxis]: `prepareCustoms` key for single axes. [#16850](https://github.com/apache/echarts/issues/16850) ([benlongo](https://github.com/benlongo)) ++ [Fix] [graphic]: some options may be unexpectedly reset on update [#17007](https://github.com/apache/echarts/issues/17007) ([plainheart](https://github.com/plainheart)) ++ [Fix] [decal]: pattern not change after set `legend.itemStyle.decal` to be `'none'` [#16922](https://github.com/apache/echarts/issues/16922) ([jiawulin001](https://github.com/jiawulin001)) ++ [Fix] [radialGradient]: safe guarding for radial gradient [#898](https://github.com/ecomfe/zrender/issues/898) [#919](https://github.com/ecomfe/zrender/issues/919) ([lefex](https://github.com/lefex)) ([Ovilia](https://github.com/Ovilia)) ++ [Fix]: typo in `DataStore`. [#16824](https://github.com/apache/echarts/issues/16824) ([XXXMrG](https://github.com/XXXMrG)) + ## v5.3.2 2022-04-01 - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] tag 5.3.3-rc.1 created (now 86eba716f)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to tag 5.3.3-rc.1 in repository https://gitbox.apache.org/repos/asf/echarts.git at 86eba716f (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-website] branch asf-site updated: chore: update examples workflow
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/echarts-website.git The following commit(s) were added to refs/heads/asf-site by this push: new 2b332680 chore: update examples workflow 2b332680 is described below commit 2b33268035b01244369607a4d3e11d01bb47c8e1 Author: Wenli Zhang AuthorDate: Fri Jun 10 11:16:52 2022 +0800 chore: update examples workflow --- .github/workflows/deploy.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 112f4f41..8efdcfb5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -33,7 +33,6 @@ jobs: git clone --depth 1 https://github.com/apache/echarts-examples cd echarts-examples npm install --force - npm install vue@2.6.14 --force - name: Install ECharts Theme Builder working-directory: tmp-workspace - 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: chore: update vue versions
This is an automated email from the ASF dual-hosted git repository. ovilia 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 cda7e285 chore: update vue versions cda7e285 is described below commit cda7e28585418abaf70e2fdfa0d5c15347f5df45 Author: Ovilia AuthorDate: Fri Jun 10 11:15:57 2022 +0800 chore: update vue versions --- package-lock.json | 25 ++--- package.json | 3 ++- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 55af4897..1088eaaf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,6 +19,7 @@ "semver": "^7.3.5", "sucrase": "^3.17.0", "vanilla-lazyload": "^12.5.1", +"vue": "^2.6.14", "vue-i18n": "^8.18.2", "vue-scrollactive": "^0.9.3" }, @@ -59,7 +60,7 @@ "style-loader": "^2.0.0", "typescript": "^4.1.3", "vue-loader": "^15.9.6", -"vue-template-compiler": "^2.6.11", +"vue-template-compiler": "^2.6.14", "webpack": "^5.11.1", "webpack-bundle-analyzer": "^4.3.0", "webpack-cli": "^4.3.1", @@ -10217,6 +10218,11 @@ "resolved": "https://registry.npmjs.org/vanilla-lazyload/-/vanilla-lazyload-12.5.1.tgz;, "integrity": "sha512-gB986dXslHqkbYMDnwfIlKHl++lLADAEZhI6FNZy7gtVddR+1N69xkOI2vRAJssr6QzmKPCfZu4btEHWjG0pNA==" }, +"node_modules/vue": { + "version": "2.6.14", + "resolved": "https://registry.npmjs.org/vue/-/vue-2.6.14.tgz;, + "integrity": "sha512-x2284lgYvjOMj3Za7kqzRcUSxBboHqtgRE2zlos1qWaOye5yUmHn42LB1250NJBLRwEcdrB0JRwyPTEPhfQjiQ==" +}, "node_modules/vue-hot-reload-api": { "version": "2.3.4", "resolved": "https://registry.npmjs.org/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz;, @@ -10272,9 +10278,9 @@ } }, "node_modules/vue-template-compiler": { - "version": "2.6.11", - "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.11.tgz;, - "integrity": "sha512-KIq15bvQDrcCjpGjrAhx4mUlyyHfdmTaoNfeoATHLAiWB+MU3cx4lOzMwrnUh9cCxy0Lt1T11hAFY6TQgroUAA==", + "version": "2.6.14", + "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.14.tgz;, + "integrity": "sha512-ODQS1SyMbjKoO1JBJZojSw6FE4qnh9rIpUZn2EUT86FKizx9uH5z6uXiIrm4/Nb/gwxTi/o17ZDEGWAXHvtC7g==", "dev": true, "dependencies": { "de-indent": "^1.0.2", @@ -19068,6 +19074,11 @@ "resolved": "https://registry.npmjs.org/vanilla-lazyload/-/vanilla-lazyload-12.5.1.tgz;, "integrity": "sha512-gB986dXslHqkbYMDnwfIlKHl++lLADAEZhI6FNZy7gtVddR+1N69xkOI2vRAJssr6QzmKPCfZu4btEHWjG0pNA==" }, +"vue": { + "version": "2.6.14", + "resolved": "https://registry.npmjs.org/vue/-/vue-2.6.14.tgz;, + "integrity": "sha512-x2284lgYvjOMj3Za7kqzRcUSxBboHqtgRE2zlos1qWaOye5yUmHn42LB1250NJBLRwEcdrB0JRwyPTEPhfQjiQ==" +}, "vue-hot-reload-api": { "version": "2.3.4", "resolved": "https://registry.npmjs.org/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz;, @@ -19111,9 +19122,9 @@ } }, "vue-template-compiler": { - "version": "2.6.11", - "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.11.tgz;, - "integrity": "sha512-KIq15bvQDrcCjpGjrAhx4mUlyyHfdmTaoNfeoATHLAiWB+MU3cx4lOzMwrnUh9cCxy0Lt1T11hAFY6TQgroUAA==", + "version": "2.6.14", + "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.14.tgz;, + "integrity": "sha512-ODQS1SyMbjKoO1JBJZojSw6FE4qnh9rIpUZn2EUT86FKizx9uH5z6uXiIrm4/Nb/gwxTi/o17ZDEGWAXHvtC7g==", "dev": true, "requires": { "de-indent": "^1.0.2", diff --git a/package.json b/package.json index 08f12740..1a7a34e1 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "style-loader": "^2.0.0", "typescript": "^4.1.3", "vue-loader": "^15.9.6", -"vue-template-compiler": "^2.6.11", +"vue-template-compiler": "^2.6.14", "webpack": "^5.11.1", "webpack-bundle-analyzer": "^4.3.0", "webpack-cli": "^4.3.1", @@ -72,6 +72,7 @@ "semver": "^7.3.5", "sucrase": "^3.17.0", "vanilla-lazyload": "^12.5.1", +"vue": "^2.6.14", "vue-i18n": "^8.18.2", "vue-scrollactive": "^0.9.3" } - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-website] branch asf-site updated: chore: update vue version in examples
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/echarts-website.git The following commit(s) were added to refs/heads/asf-site by this push: new 0b60f8e6 chore: update vue version in examples 0b60f8e6 is described below commit 0b60f8e6bab26ceb35072cc2a60879a0b9ed8ba1 Author: Wenli Zhang AuthorDate: Fri Jun 10 10:56:27 2022 +0800 chore: update vue version in examples --- .github/workflows/deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8efdcfb5..112f4f41 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -33,6 +33,7 @@ jobs: git clone --depth 1 https://github.com/apache/echarts-examples cd echarts-examples npm install --force + npm install vue@2.6.14 --force - name: Install ECharts Theme Builder working-directory: tmp-workspace - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-website] branch asf-site updated: chore: force npm install for echarts-examples
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/echarts-website.git The following commit(s) were added to refs/heads/asf-site by this push: new bf6b10c7 chore: force npm install for echarts-examples bf6b10c7 is described below commit bf6b10c71ce2fcfcfcd3ed24b01230dc3760a870 Author: Wenli Zhang AuthorDate: Thu Jun 9 19:28:09 2022 +0800 chore: force npm install for echarts-examples Wrong repo in the last commit. --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c8aeceb9..8efdcfb5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -32,7 +32,7 @@ jobs: run: | git clone --depth 1 https://github.com/apache/echarts-examples cd echarts-examples - npm install + npm install --force - name: Install ECharts Theme Builder working-directory: tmp-workspace @@ -57,7 +57,7 @@ jobs: npm run release - name: Install Dep -run: npm install --force +run: npm install - name: Deploy uses: ./node_modules/@jamesives/github-pages-deploy-action - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts-website] branch asf-site updated: chore: use force when npm install in workflow
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/echarts-website.git The following commit(s) were added to refs/heads/asf-site by this push: new d6a2e94e chore: use force when npm install in workflow d6a2e94e is described below commit d6a2e94ea66cb829ba19c1777bdc5c7db75037e9 Author: Wenli Zhang AuthorDate: Thu Jun 9 19:22:11 2022 +0800 chore: use force when npm install in workflow To solve the failure of https://github.com/apache/echarts-website/runs/6810956965?check_suite_focus=true#step:6:118 --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6f5a5c82..c8aeceb9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -57,7 +57,7 @@ jobs: npm run release - name: Install Dep -run: npm install +run: npm install --force - name: Deploy uses: ./node_modules/@jamesives/github-pages-deploy-action - 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 #17190 from apache/release-dev
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git commit 86eba716ffa3d76c017e696599494dc3e83e9260 Merge: 1a584e45d 6dfe96d0c Author: Wenli Zhang AuthorDate: Thu Jun 9 19:19:29 2022 +0800 Merge pull request #17190 from apache/release-dev Release 5.3.3 (update version number) dist/echarts.common.js | 6163 dist/echarts.common.js.map |2 +- dist/echarts.common.min.js |4 +- dist/echarts.esm.js| 9199 ++-- dist/echarts.esm.js.map|2 +- dist/echarts.esm.min.js|2 +- dist/echarts.js| 9199 ++-- dist/echarts.js.map|2 +- dist/echarts.min.js|2 +- dist/echarts.simple.js | 4704 +- dist/echarts.simple.js.map |2 +- dist/echarts.simple.min.js |2 +- dist/extension/bmap.js.map |2 +- dist/extension/dataTool.js.map |2 +- package-lock.json | 18 +- package.json |4 +- src/core/echarts.ts|4 +- test/map-projection-animation.html |5 +- test/map-projection-d3.html|5 +- test/map-projection.html |5 +- test/runTest/client/index.html |6 +- test/runTest/recorder/index.html |8 +- 22 files changed, 14745 insertions(+), 14597 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch release updated (1a584e45d -> 86eba716f)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git from 1a584e45d Merge pull request #17182 from apache/master add 3a5edc2a2 test: change cdn to unpkg add 21f220f60 chore: release 5.3.3 add 6dfe96d0c chore: update zrender version in the source code new 86eba716f Merge pull request #17190 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 | 6163 dist/echarts.common.js.map |2 +- dist/echarts.common.min.js |4 +- dist/echarts.esm.js| 9199 ++-- dist/echarts.esm.js.map|2 +- dist/echarts.esm.min.js|2 +- dist/echarts.js| 9199 ++-- dist/echarts.js.map|2 +- dist/echarts.min.js|2 +- dist/echarts.simple.js | 4704 +- dist/echarts.simple.js.map |2 +- dist/echarts.simple.min.js |2 +- dist/extension/bmap.js.map |2 +- dist/extension/dataTool.js.map |2 +- package-lock.json | 18 +- package.json |4 +- src/core/echarts.ts|4 +- test/map-projection-animation.html |5 +- test/map-projection-d3.html|5 +- test/map-projection.html |5 +- test/runTest/client/index.html |6 +- test/runTest/recorder/index.html |8 +- 22 files changed, 14745 insertions(+), 14597 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 (21f220f60 -> 6dfe96d0c)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch release-dev in repository https://gitbox.apache.org/repos/asf/echarts.git from 21f220f60 chore: release 5.3.3 add 6dfe96d0c chore: update zrender version in the source code No new revisions were added by this update. Summary of changes: dist/echarts.common.js | 2 +- dist/echarts.common.js.map | 2 +- dist/echarts.common.min.js | 2 +- dist/echarts.esm.js| 2 +- dist/echarts.esm.js.map| 2 +- dist/echarts.esm.min.js| 2 +- dist/echarts.js| 2 +- dist/echarts.js.map| 2 +- dist/echarts.min.js| 2 +- dist/echarts.simple.js | 2 +- dist/echarts.simple.js.map | 2 +- dist/echarts.simple.min.js | 2 +- src/core/echarts.ts| 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] 01/02: test: change cdn to unpkg
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch release-dev in repository https://gitbox.apache.org/repos/asf/echarts.git commit 3a5edc2a20f95834fa4fb5ed5ce1fa8d0767d315 Author: Ovilia AuthorDate: Thu Jun 9 17:32:46 2022 +0800 test: change cdn to unpkg --- test/map-projection-animation.html | 5 ++--- test/map-projection-d3.html| 5 ++--- test/map-projection.html | 5 ++--- test/runTest/client/index.html | 6 +++--- test/runTest/recorder/index.html | 8 5 files changed, 13 insertions(+), 16 deletions(-) diff --git a/test/map-projection-animation.html b/test/map-projection-animation.html index e6ee43cca..fc91c7524 100644 --- a/test/map-projection-animation.html +++ b/test/map-projection-animation.html @@ -23,8 +23,8 @@ under the License. -https://cdn.jsdelivr.net/npm/d3-array@3"</a>;> -https://cdn.jsdelivr.net/npm/d3-geo@3/dist/d3-geo.js"</a>;> +https://unpkg.com/d3-array@3"</a>;> +https://unpkg.com/d3-geo@3/dist/d3-geo.js"</a>;> @@ -232,4 +232,3 @@ under the License. - diff --git a/test/map-projection-d3.html b/test/map-projection-d3.html index e184058a0..d1a3a4f38 100644 --- a/test/map-projection-d3.html +++ b/test/map-projection-d3.html @@ -23,8 +23,8 @@ under the License. -https://cdn.jsdelivr.net/npm/d3-array@3"</a>;> -https://cdn.jsdelivr.net/npm/d3-geo@3/dist/d3-geo.js"</a>;> +https://unpkg.com/d3-array@3"</a>;> +https://unpkg.com/d3-geo@3/dist/d3-geo.js"</a>;> @@ -539,4 +539,3 @@ under the License. - diff --git a/test/map-projection.html b/test/map-projection.html index 06fe69704..667b06e86 100644 --- a/test/map-projection.html +++ b/test/map-projection.html @@ -23,8 +23,8 @@ under the License. -https://cdn.jsdelivr.net/npm/d3-array@3"</a>;> -https://cdn.jsdelivr.net/npm/d3-geo@3/dist/d3-geo.js"</a>;> +https://unpkg.com/d3-array@3"</a>;> +https://unpkg.com/d3-geo@3/dist/d3-geo.js"</a>;> @@ -781,4 +781,3 @@ under the License. - diff --git a/test/runTest/client/index.html b/test/runTest/client/index.html index 5e876c3f6..9d52c1ae1 100644 --- a/test/runTest/client/index.html +++ b/test/runTest/client/index.html @@ -322,11 +322,11 @@ under the License. -https://cdn.jsdelivr.net/npm/vue@2.6.10/dist/vue.js"</a>;> +https://unpkg.com/vue@2.6.10/dist/vue.js"</a>;> -https://cdn.jsdelivr.net/npm/element-ui@2.15.1/lib/theme-chalk/index.css;> -https://cdn.jsdelivr.net/npm/element-ui@2.15.1/lib/index.js"</a>;> +https://unpkg.com/element-ui@2.15.1/lib/theme-chalk/index.css;> +https://unpkg.com/element-ui@2.15.1/lib/index.js"</a>;> diff --git a/test/runTest/recorder/index.html b/test/runTest/recorder/index.html index e0bc594fe..efbcfe63d 100644 --- a/test/runTest/recorder/index.html +++ b/test/runTest/recorder/index.html @@ -94,12 +94,12 @@ under the License. -https://cdn.jsdelivr.net/npm/vue@2.6.10/dist/vue.js"</a>;> +https://unpkg.com/vue@2.6.10/dist/vue.js"</a>;> -https://cdn.jsdelivr.net/npm/element-ui@2.11.1/lib/theme-chalk/index.css;> -https://cdn.jsdelivr.net/npm/element-ui@2.11.1/lib/index.js"</a>;> -https://cdn.jsdelivr.net/npm/lodash@4.17.15/lodash.js"</a>;> +https://unpkg.com/element-ui@2.11.1/lib/theme-chalk/index.css;> +https://unpkg.com/element-ui@2.11.1/lib/index.js"</a>;> +https://unpkg.com/lodash@4.17.15/lodash.js"</a>;> - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch release-dev updated (fc152765c -> 21f220f60)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch release-dev in repository https://gitbox.apache.org/repos/asf/echarts.git from fc152765c release 5.3.2 add b0f8d9100 fix(radar): fix regression bug brought by branch merging. (#15985) add 977bba135 Merge pull request #16764 from apache/fix-radar-tooltip add 8b2a4c4fa Merge pull request #16759 from apache/release-dev add 0681e9be3 Merge pull request #16819 from apache/release add c17df2da8 chore: add NPM install link to vote-release template. add 8e3aceb0c chore: update KEYS. add 83cbb281e chore: update homepage link in package.json add d706bda50 chore: remove deprecated tutorial link for custom build in README. add 045c85d0a Merge pull request #16820 from apache/update-keys-materials add cda23a02d fix(DataStore): fix typo 'Invalid'. close #16786 add 25109e317 Merge pull request #16824 from XXXMrG/fix-16786 add da71a9ec4 ci: add lint step add d0e8626c8 Merge pull request #16836 from apache/workflow-add-lint-step add 8ea10f4d0 [infra] reset notifications to commits@echarts for commits, PRs and issues add a1d0a676b Merge pull request #16857 from apache/humbedooh/notifications add 2fafe28dd fix: Dump areaStyle polygon when notMerge is true add f5c6ecdff Update for lint flaws add d92ddba61 test: tweak test case title and add VRT action. add 3b7ff4fc2 Merge pull request #16772 from jiawulin001/issue#16769 add 0062d9938 ci: fix lint may not work when pr synchronizes. add 084ea7f52 Merge pull request #16866 from apache/ci/lint add 1a8f622cc fix: bug 16849 add 1b9afd847 feat: move comment as require add 2a67f86e6 Merge pull request #16854 from Ling310/features/fix-16849 add ee116a0f7 fix(graph): user cursor has higher priority (#16867) add 7114d76b6 ci: fix node module cache doesn't work add b2168d5f3 Merge pull request #16881 from apache/ci-cache add 8faf0f6e7 fix: markArea display filter correction add 8e0359ee7 fix lint style error and add test case add a5bba6590 Use BoundingRect.intersect instead of rectRectIntersect add e90c07eb1 fix lint style errors add cb80d3aee Fix another lint style error add ad0c2dd92 Update with new BoundingRect create add 16b24573c fix lint style error add 670ac6864 test(markArea): add zoom interaction testing add d87e51a2b test(markArea): optimize test interactions add d3366c904 fix: Update comment on MarkAreaView.ts add cc3f4a740 optimize variable in MarkAreaView.ts add a5257e38a Merge pull request #16861 from jiawulin001/issue#16853 add 7779e6192 fix(types): graph autoCurveness option add 4a5219984 Merge pull request #16897 from kongmoumou/fix-type add b2897aca0 Add 'decal' to ITEM_STYLE_KEY_MAP and add check if it is 'none' add 11e37cc68 Update legend decal style dealer add ec1db268f fix lint error add 94856a961 added passed down api for functions in legendView add 7c029eece remove decal from ITEM_STYLE_KEY_MAP add 66d064ca0 Update with ternary expression add 6626f488c fix lint errors add a956d3e7e fix: fix names legendItemModel->itemStyleModel, legendModel->legendItemModel add e9d1f833a fix: remove explicit input 'false'(default) from getShallow add 3961cefc0 Merge pull request #16922 from jiawulin001/issue#16909 add 62ab37959 fix: tooltip content won't change with axis extent when triggerOn set to 'click' add 1258fa715 fix: use short phrase 'triggerOn' instead add f783cd8af Merge pull request #16939 from jiawulin001/issue#16930 add 8e6e8bb4a fix(tree): radial tree with single root doesn't work add 027d64c6a fix(tree): remove unused html add b98df5c45 Merge pull request #16950 from fuchunhui/master add 5c53e9d84 chore: fix broken external editor links. add b4250f8ae Merge pull request #16966 from apache/fix-editor-link add bc641254a feat(View): `View` center supports `string` (#16904) add 6d45e2a9e feat(piecewise): `selecedtMode` support `boolean` (#16972) add a44c7f5f1 feat(tree): `tree` focus supports `relative` add 84b957855 Merge pull request #17009 from susiwen8/tree-relative add ffc742918 fix(graphic): 1) fix some options may be unexpectedly reset when calling setOption. 2) fix group children can't be updated when calling setOption with no `type` option. add 5cf53e24a Merge pull request #17007 from apache/fix/graphic add dffa1ef39 {yy} should be padded to 2 digits add 6c793aad3 Merge pull request #17064 from Fritzbox2000/master add 6ee5f7076 fix(time): Quarters split the year into 4 quarters not 3. close #17057 (#17073) add 99b012676 Add test for custom singleAxis. add d464d8c3f Fix prepareCustoms key for Single axis. add 9b670a075 Fix typo: pathes -> paths add 99b0182c4 Merge pull request #1
[echarts-examples] branch gh-pages updated: chore: remove a workflow that does not work
This is an automated email from the ASF dual-hosted git repository. ovilia 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 165def98 chore: remove a workflow that does not work 165def98 is described below commit 165def98ebcc491288ede6442189900ef53569e3 Author: Ovilia AuthorDate: Thu Jun 9 17:28:46 2022 +0800 chore: remove a workflow that does not work --- .github/workflows/e2e-test.yml | 26 -- 1 file changed, 26 deletions(-) diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml deleted file mode 100644 index 1ea7b8c3.. --- a/.github/workflows/e2e-test.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Run e2e Test - -on: - workflow_dispatch: {} - -jobs: - build-and-deploy: -runs-on: ubuntu-latest -steps: - - name: checkout -uses: actions/checkout@v2 - - - name: install ffmpeg -uses: FedericoCarboni/setup-ffmpeg@v1.1.0 -id: setup-ffmpeg - - - name: npm install -run: | - npm install - npm install puppeteer - - - name: build -run: npm run build:example - - - name: test e2e -run: npm run test:e2e - 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: chore: update action id in workflow
This is an automated email from the ASF dual-hosted git repository. ovilia 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 156ee967 chore: update action id in workflow 156ee967 is described below commit 156ee9677ea6d0b7b32ffeee25af1c1015d0efbc Author: Ovilia AuthorDate: Thu Jun 9 17:26:45 2022 +0800 chore: update action id in workflow --- .github/workflows/e2e-test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index a85df3c4..1ea7b8c3 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -11,7 +11,8 @@ jobs: uses: actions/checkout@v2 - name: install ffmpeg -uses: FedericoCarboni/setup-ffmpeg@v1 +uses: FedericoCarboni/setup-ffmpeg@v1.1.0 +id: setup-ffmpeg - name: npm install run: | - 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: chore: add e2e to workflow
This is an automated email from the ASF dual-hosted git repository. ovilia 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 e490de18 chore: add e2e to workflow e490de18 is described below commit e490de18765fe2aa315f92397f948fe9e6e0803c Author: Ovilia AuthorDate: Thu Jun 9 17:00:54 2022 +0800 chore: add e2e to workflow --- .github/workflows/e2e-test.yml | 22 ++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml new file mode 100644 index ..9d4e1727 --- /dev/null +++ b/.github/workflows/e2e-test.yml @@ -0,0 +1,22 @@ +name: Run e2e Test + +on: + workflow_dispatch: {} + +jobs: + build-and-deploy: +runs-on: ubuntu-latest +steps: + - name: checkout +uses: actions/checkout@v2 + + - name: npm install +run: | + npm install + npm install puppeteer + + - name: build +run: npm run build:example + + - name: test e2e +run: npm run test:e2e - 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: chore: install ffmpeg in workflow
This is an automated email from the ASF dual-hosted git repository. ovilia 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 9e0fae80 chore: install ffmpeg in workflow 9e0fae80 is described below commit 9e0fae80e819953e4d0a02b6ef27d8ced9ec1932 Author: Ovilia AuthorDate: Thu Jun 9 17:17:26 2022 +0800 chore: install ffmpeg in workflow --- .github/workflows/e2e-test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 9d4e1727..a85df3c4 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -10,6 +10,9 @@ jobs: - name: checkout uses: actions/checkout@v2 + - name: install ffmpeg +uses: FedericoCarboni/setup-ffmpeg@v1 + - name: npm install run: | npm install - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch release updated (8b2a4c4fa -> 1a584e45d)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git from 8b2a4c4fa Merge pull request #16759 from apache/release-dev add b0f8d9100 fix(radar): fix regression bug brought by branch merging. (#15985) add 977bba135 Merge pull request #16764 from apache/fix-radar-tooltip add 0681e9be3 Merge pull request #16819 from apache/release add c17df2da8 chore: add NPM install link to vote-release template. add 8e3aceb0c chore: update KEYS. add 83cbb281e chore: update homepage link in package.json add d706bda50 chore: remove deprecated tutorial link for custom build in README. add 045c85d0a Merge pull request #16820 from apache/update-keys-materials add cda23a02d fix(DataStore): fix typo 'Invalid'. close #16786 add 25109e317 Merge pull request #16824 from XXXMrG/fix-16786 add da71a9ec4 ci: add lint step add d0e8626c8 Merge pull request #16836 from apache/workflow-add-lint-step add 8ea10f4d0 [infra] reset notifications to commits@echarts for commits, PRs and issues add a1d0a676b Merge pull request #16857 from apache/humbedooh/notifications add 2fafe28dd fix: Dump areaStyle polygon when notMerge is true add f5c6ecdff Update for lint flaws add d92ddba61 test: tweak test case title and add VRT action. add 3b7ff4fc2 Merge pull request #16772 from jiawulin001/issue#16769 add 0062d9938 ci: fix lint may not work when pr synchronizes. add 084ea7f52 Merge pull request #16866 from apache/ci/lint add 1a8f622cc fix: bug 16849 add 1b9afd847 feat: move comment as require add 2a67f86e6 Merge pull request #16854 from Ling310/features/fix-16849 add ee116a0f7 fix(graph): user cursor has higher priority (#16867) add 7114d76b6 ci: fix node module cache doesn't work add b2168d5f3 Merge pull request #16881 from apache/ci-cache add 8faf0f6e7 fix: markArea display filter correction add 8e0359ee7 fix lint style error and add test case add a5bba6590 Use BoundingRect.intersect instead of rectRectIntersect add e90c07eb1 fix lint style errors add cb80d3aee Fix another lint style error add ad0c2dd92 Update with new BoundingRect create add 16b24573c fix lint style error add 670ac6864 test(markArea): add zoom interaction testing add d87e51a2b test(markArea): optimize test interactions add d3366c904 fix: Update comment on MarkAreaView.ts add cc3f4a740 optimize variable in MarkAreaView.ts add a5257e38a Merge pull request #16861 from jiawulin001/issue#16853 add 7779e6192 fix(types): graph autoCurveness option add 4a5219984 Merge pull request #16897 from kongmoumou/fix-type add b2897aca0 Add 'decal' to ITEM_STYLE_KEY_MAP and add check if it is 'none' add 11e37cc68 Update legend decal style dealer add ec1db268f fix lint error add 94856a961 added passed down api for functions in legendView add 7c029eece remove decal from ITEM_STYLE_KEY_MAP add 66d064ca0 Update with ternary expression add 6626f488c fix lint errors add a956d3e7e fix: fix names legendItemModel->itemStyleModel, legendModel->legendItemModel add e9d1f833a fix: remove explicit input 'false'(default) from getShallow add 3961cefc0 Merge pull request #16922 from jiawulin001/issue#16909 add 62ab37959 fix: tooltip content won't change with axis extent when triggerOn set to 'click' add 1258fa715 fix: use short phrase 'triggerOn' instead add f783cd8af Merge pull request #16939 from jiawulin001/issue#16930 add 8e6e8bb4a fix(tree): radial tree with single root doesn't work add 027d64c6a fix(tree): remove unused html add b98df5c45 Merge pull request #16950 from fuchunhui/master add 5c53e9d84 chore: fix broken external editor links. add b4250f8ae Merge pull request #16966 from apache/fix-editor-link add bc641254a feat(View): `View` center supports `string` (#16904) add 6d45e2a9e feat(piecewise): `selecedtMode` support `boolean` (#16972) add a44c7f5f1 feat(tree): `tree` focus supports `relative` add 84b957855 Merge pull request #17009 from susiwen8/tree-relative add ffc742918 fix(graphic): 1) fix some options may be unexpectedly reset when calling setOption. 2) fix group children can't be updated when calling setOption with no `type` option. add 5cf53e24a Merge pull request #17007 from apache/fix/graphic add dffa1ef39 {yy} should be padded to 2 digits add 6c793aad3 Merge pull request #17064 from Fritzbox2000/master add 6ee5f7076 fix(time): Quarters split the year into 4 quarters not 3. close #17057 (#17073) add 99b012676 Add test for custom singleAxis. add d464d8c3f Fix prepareCustoms key for Single axis. add 9b670a075 Fix typo: pathes -> paths add 99b0182c4 Merge pull request #16850 from
[echarts] 01/01: Merge pull request #17182 from apache/master
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch release in repository https://gitbox.apache.org/repos/asf/echarts.git commit 1a584e45d7cdd271eb7e7c95ade32721f214c9d2 Merge: 8b2a4c4fa 0c7291fb5 Author: Wenli Zhang AuthorDate: Wed Jun 8 15:12:15 2022 +0800 Merge pull request #17182 from apache/master Release v5.3.3 .asf.yaml | 4 + .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- .github/workflows/ci.yml | 68 +++-- CONTRIBUTING.md| 2 +- KEYS | 178 +++ README.md | 4 +- build/source-release/template/vote-release.tpl | 6 +- package.json | 2 +- src/action/roamHelper.ts | 8 +- src/chart/bar/PictorialBarSeries.ts| 5 +- src/chart/bar/PictorialBarView.ts | 8 +- src/chart/custom/CustomView.ts | 2 +- src/chart/graph/GraphSeries.ts | 6 + src/chart/graph/GraphView.ts | 2 +- src/chart/graph/createView.ts | 2 +- src/chart/graph/install.ts | 5 +- src/chart/helper/Symbol.ts | 4 +- src/chart/line/LineView.ts | 4 + src/chart/tree/TreeSeries.ts | 2 +- src/chart/tree/TreeView.ts | 21 +-- src/chart/tree/treeAction.ts | 5 +- src/chart/treemap/TreemapSeries.ts | 6 - src/component/dataZoom/SliderZoomView.ts | 3 +- src/component/geo/install.ts | 5 +- src/component/graphic/GraphicModel.ts | 4 +- src/component/graphic/GraphicView.ts | 49 --- src/component/legend/LegendView.ts | 33 +++-- src/component/marker/MarkAreaView.ts | 28 ++-- src/component/marker/MarkLineView.ts | 4 +- src/component/marker/markerHelper.ts | 13 ++ src/component/tooltip/TooltipView.ts | 4 +- src/component/visualMap/PiecewiseModel.ts | 2 +- src/component/visualMap/PiecewiseView.ts | 6 +- src/coord/View.ts | 11 +- src/coord/cartesian/Cartesian2D.ts | 12 ++ src/coord/geo/Geo.ts | 2 +- src/coord/geo/geoCreator.ts| 2 +- src/coord/radar/RadarModel.ts | 3 - src/data/DataStore.ts | 2 +- src/model/Global.ts| 2 +- src/model/Model.ts | 6 +- src/processor/dataStack.ts | 21 +-- src/util/clazz.ts | 4 +- src/util/format.ts | 2 +- src/util/time.ts | 2 +- src/util/types.ts | 9 +- test/area-stack.html | 191 +++-- test/custom.html | 85 ++- test/graph-simple.html | 1 + test/graph-symbol.html | 2 + test/graphic-cases.html| 105 +- test/linesGL-ny-appendData.html| 6 +- test/markArea.html | 93 +++- test/marker-case.html | 42 +- test/runTest/actions/__meta__.json | 11 +- test/runTest/actions/graphic-cases.json| 1 + test/runTest/actions/markArea.json | 2 +- test/runTest/actions/marker-case.json | 1 + test/runTest/actions/radar3.json | 2 +- test/runTest/actions/setOption.json| 2 +- test/runTest/actions/tree-polyline.json| 1 + test/runTest/actions/tree-radial.json | 2 +- test/runTest/util.js | 5 +- test/setOption.html| 49 ++- test/tree-legend.html | 7 +- test/tree-radial.html | 96 - 66 files changed, 1069 insertions(+), 210 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch master updated (e2d26a298 -> 0c7291fb5)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git from e2d26a298 Merge pull request #17172 from susiwen8/fix-comment add c82eb4157 test: update visual test cdn to be unpkg new 0c7291fb5 Merge pull request #17181 from apache/test-cdn 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: test/runTest/util.js | 5 +++-- 1 file changed, 3 insertions(+), 2 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 #17181 from apache/test-cdn
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git commit 0c7291fb56e1cccf7abddf7200870ed8bf7c97bb Merge: e2d26a298 c82eb4157 Author: Wenli Zhang AuthorDate: Wed Jun 8 15:02:21 2022 +0800 Merge pull request #17181 from apache/test-cdn test: update visual test cdn to be unpkg test/runTest/util.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] 01/01: test: update visual test cdn to be unpkg
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch test-cdn in repository https://gitbox.apache.org/repos/asf/echarts.git commit c82eb4157ad2ec2ee67bf34bd238bba01d0c57bf Author: Ovilia AuthorDate: Wed Jun 8 14:54:01 2022 +0800 test: update visual test cdn to be unpkg --- test/runTest/util.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/runTest/util.js b/test/runTest/util.js index b116c4920..4d892b344 100644 --- a/test/runTest/util.js +++ b/test/runTest/util.js @@ -76,8 +76,9 @@ module.exports.prepareEChartsLib = function (version) { const isNightly = version.includes('-dev'); const packageName = isNightly ? 'echarts-nightly' : 'echarts' -console.log(`Downloading ${packageName}@${version} from `, `https://cdn.jsdelivr.net/npm/${packageName}@${version}/dist/echarts.js`); - https.get(`https://cdn.jsdelivr.net/npm/${packageName}@${version}/dist/echarts.js`, response => { +const url = `https://unpkg.com/${packageName}@${version}/dist/echarts.js`; +console.log(`Downloading ${packageName}@${version} from ${url}`, ); +https.get(url, response => { response.pipe(file); file.on('finish', () => { - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] branch test-cdn created (now c82eb4157)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch test-cdn in repository https://gitbox.apache.org/repos/asf/echarts.git at c82eb4157 test: update visual test cdn to be unpkg This branch includes the following new commits: new c82eb4157 test: update visual test cdn to be unpkg 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 master updated: chore: remove some unintentional comment
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts.git The following commit(s) were added to refs/heads/master by this push: new 734cfbf46 chore: remove some unintentional comment new e2d26a298 Merge pull request #17172 from susiwen8/fix-comment 734cfbf46 is described below commit 734cfbf4640f107ee79826cdafe95842ae40ec4d Author: susiwen8 AuthorDate: Tue Jun 7 15:36:58 2022 +0800 chore: remove some unintentional comment --- src/chart/treemap/TreemapSeries.ts | 6 -- src/model/Global.ts| 2 +- src/model/Model.ts | 6 +++--- src/util/clazz.ts | 4 ++-- src/util/types.ts | 6 +++--- 5 files changed, 9 insertions(+), 15 deletions(-) diff --git a/src/chart/treemap/TreemapSeries.ts b/src/chart/treemap/TreemapSeries.ts index 241837c9f..50228e4ed 100644 --- a/src/chart/treemap/TreemapSeries.ts +++ b/src/chart/treemap/TreemapSeries.ts @@ -336,12 +336,6 @@ class TreemapSeriesModel extends SeriesModel { levels: [] // Each item: { // visibleMin, itemStyle, visualDimension, label // } -// data: { -// value: [], -// children: [], -// link: 'http://xxx.xxx.xxx', -// target: 'blank' or 'self' -// } }; /** diff --git a/src/model/Global.ts b/src/model/Global.ts index b4268b38a..d4777a4ee 100644 --- a/src/model/Global.ts +++ b/src/model/Global.ts @@ -682,7 +682,7 @@ echarts.use([${seriesImportName}]);`); * }); * eachComponent(function (componentType, model, index) { * // componentType does not include subType - * // (componentType is 'xxx' but not 'xxx.aa') + * // (componentType is 'a' but not 'a.b') * }); * eachComponent( * {mainType: 'dataZoom', query: {dataZoomId: 'abc'}}, diff --git a/src/model/Model.ts b/src/model/Model.ts index 3ebffaf4e..54babe69f 100644 --- a/src/model/Model.ts +++ b/src/model/Model.ts @@ -103,7 +103,7 @@ class Model {// TODO: TYPE use unknown instead of any? get( path: readonly [R, S, T], ignoreParent?: boolean ): Opt[R][S][T]; -// `path` can be 'xxx.yyy.zzz', so the return value type have to be `ModelOption` +// `path` can be 'a.b.c', so the return value type have to be `ModelOption` // TODO: TYPE strict key check? // get(path: string | string[], ignoreParent?: boolean): ModelOption; get(path: string | readonly string[], ignoreParent?: boolean): ModelOption { @@ -149,9 +149,9 @@ class Model {// TODO: TYPE use unknown instead of any? getModel( path: readonly [R, S, T], parentModel?: Model ): Model; -// `path` can be 'xxx.yyy.zzz', so the return value type have to be `Model` +// `path` can be 'a.b.c', so the return value type have to be `Model` // getModel(path: string | string[], parentModel?: Model): Model; -// TODO 'xxx.yyy.zzz' is deprecated +// TODO 'a.b.c' is deprecated getModel(path: string | readonly string[], parentModel?: Model): Model { const hasPath = path != null; const pathFinal = hasPath ? this.parsePath(path) : null; diff --git a/src/util/clazz.ts b/src/util/clazz.ts index c3df60b31..b340fdb62 100644 --- a/src/util/clazz.ts +++ b/src/util/clazz.ts @@ -231,8 +231,8 @@ export function enableClassManagement( * Component model classes * key: componentType, * value: - * componentClass, when componentType is 'xxx' - * or Object., when componentType is 'xxx.yy' + * componentClass, when componentType is 'a' + * or Object., when componentType is 'a.b' */ const storage: { [componentMainType: string]: (Constructor | SubclassContainer) diff --git a/src/util/types.ts b/src/util/types.ts index e8d3f1d18..3e9eb31cf 100644 --- a/src/util/types.ts +++ b/src/util/types.ts @@ -87,8 +87,8 @@ export type ZRStyleProps = PathStyleProps | ImageStyleProps | TSpanStyleProps | export type ZRElementEventName = ElementEventName | 'globalout'; // ComponentFullType can be: -// 'xxx.yyy': means ComponentMainType.ComponentSubType. -// 'xxx': means ComponentMainType. +// 'a.b': means ComponentMainType.ComponentSubType. +// 'a': means ComponentMainType. // See `checkClassType` check the restict definition. export type ComponentFullType = string; export type ComponentMainType = keyof ECUnitOption & string; @@ -96,7 +96,7 @@ export type ComponentSubType = Exclude; /** * Use `parseClassType` to parse componentType declaration to componentTypeInfo. * For example: - * componentType declaration: 'xxx.yyy', get componentTypeInfo {main: 'xxx', sub: 'yyy'}. + * componentType declaration: 'a.b', get componentTypeInfo {main: 'a', sub: 'b'}. * component
[echarts] branch fix-17141 created (now 3c6eb554e)
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a change to branch fix-17141 in repository https://gitbox.apache.org/repos/asf/echarts.git at 3c6eb554e test(dataZoom): add test cases This branch includes the following new commits: new 843306b9f fix(dataZoom): detail view with value axis new 3c6eb554e test(dataZoom): add test cases 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] 01/02: fix(dataZoom): detail view with value axis
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch fix-17141 in repository https://gitbox.apache.org/repos/asf/echarts.git commit 843306b9ffa3abd5095887ee17ad6a5674644436 Author: Ovilia AuthorDate: Wed Jun 1 17:24:23 2022 +0800 fix(dataZoom): detail view with value axis --- src/component/dataZoom/AxisProxy.ts | 4 src/component/dataZoom/SliderZoomView.ts | 25 + 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/src/component/dataZoom/AxisProxy.ts b/src/component/dataZoom/AxisProxy.ts index e7be785fc..053816952 100644 --- a/src/component/dataZoom/AxisProxy.ts +++ b/src/component/dataZoom/AxisProxy.ts @@ -231,6 +231,10 @@ class AxisProxy { }; } +getDataExtent() { +return this._dataExtent; +} + /** * Notice: reset should not be called before series.restoreData() called, * so it is recommanded to be called in "process stage" but not "model init diff --git a/src/component/dataZoom/SliderZoomView.ts b/src/component/dataZoom/SliderZoomView.ts index 6669929fb..f11107792 100644 --- a/src/component/dataZoom/SliderZoomView.ts +++ b/src/component/dataZoom/SliderZoomView.ts @@ -374,6 +374,9 @@ class SliderZoomView extends DataZoomView { data !== this._shadowData || otherDim !== this._shadowDim || size[0] !== oldSize[0] || size[1] !== oldSize[1] ) { +const axisProxy = this.dataZoomModel.findRepresentativeAxisProxy(); +const thisDataExtent = axisProxy.getDataExtent(); + let otherDataExtent = data.getDataExtent(otherDim); // Nice extent. const otherOffset = (otherDataExtent[1] - otherDataExtent[0]) * 0.3; @@ -384,17 +387,15 @@ class SliderZoomView extends DataZoomView { const otherShadowExtent = [0, size[1]]; const thisShadowExtent = [0, size[0]]; -const areaPoints = [[size[0], 0], [0, 0]]; +const areaPoints: number[][] = []; const linePoints: number[][] = []; -const step = thisShadowExtent[1] / (data.count() - 1); -let thisCoord = 0; // Optimize for large data shadow const stride = Math.round(data.count() / size[0]); let lastIsEmpty: boolean; -data.each([otherDim], function (value: ParsedValue, index) { +data.each([info.thisDim, otherDim], function (thisValue: ParsedValue, thatValue: ParsedValue, index) { if (stride > 0 && (index % stride)) { -thisCoord += step; +// thisCoord += step; return; } @@ -403,10 +404,12 @@ class SliderZoomView extends DataZoomView { // FIXME // 应该使用统一的空判断?还是在list里进行空判断? -const isEmpty = value == null || isNaN(value as number) || value === ''; +const isEmpty = thatValue == null || isNaN(thatValue as number) || thatValue === ''; // See #4235. const otherCoord = isEmpty -? 0 : linearMap(value as number, otherDataExtent, otherShadowExtent, true); +? 0 : linearMap(thatValue as number, otherDataExtent, otherShadowExtent, true); +const thisCoord = isEmpty +? 0 : linearMap(thisValue as number, thisDataExtent, thisShadowExtent, true); // Attempt to draw data shadow precisely when there are empty value. if (isEmpty && !lastIsEmpty && index) { @@ -418,10 +421,16 @@ class SliderZoomView extends DataZoomView { linePoints.push([thisCoord, 0]); } +if (index === 0) { +areaPoints.push([thisCoord, 0]); +} areaPoints.push([thisCoord, otherCoord]); +if (index === data.count() - 1) { +areaPoints.push([thisCoord, 0]); +} + linePoints.push([thisCoord, otherCoord]); -thisCoord += step; lastIsEmpty = isEmpty; }); - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org
[echarts] 02/02: test(dataZoom): add test cases
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch fix-17141 in repository https://gitbox.apache.org/repos/asf/echarts.git commit 3c6eb554ea838d98c964503fa27976ebb06ef0c7 Author: Ovilia AuthorDate: Wed Jun 1 17:53:16 2022 +0800 test(dataZoom): add test cases --- test/dataZoom-detail.html | 306 ++ 1 file changed, 306 insertions(+) diff --git a/test/dataZoom-detail.html b/test/dataZoom-detail.html new file mode 100644 index 0..d5e299857 --- /dev/null +++ b/test/dataZoom-detail.html @@ -0,0 +1,306 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +require([ +'echarts', +// 'map/js/china', +// './data/nutrients.json' +], function (echarts) { +var option; + +option = { +xAxis: { +type: 'value' +}, +yAxis: { +type: 'value' +}, +series: [ +{ +data: [ +[12, 3], +[15, 50], +[18, 30], +[44, 50] +], +type: 'line' +} +], +dataZoom: { +startValue: 15 +} +}; + +var chart = testHelper.create(echarts, 'main0', { +title: [ +'Value xAxis' +], +option: option +}); +}); + + + + + +require([ +'echarts', +// 'map/js/china', +// './data/nutrients.json' +], function (echarts) { +var option; + +option = { +xAxis: { +type: 'value' +}, +yAxis: { +type: 'value' +}, +series: [ +{ +data: [ +[12, 3], +[15, 50], +[18, 30], +[44, 50] +], +type: 'line' +} +], +dataZoom: [{ +xAxisIndex: 0 +}, { +yAxisIndex: 0, +filterMode: 'none' +}] +}; + +var chart = testHelper.create(echarts, 'main01', { +title: [ +'Value axes, filter none' +], +option: option +}); +}); + + + + + +require([ +'echarts', +// 'map/js/china', +// './data/nutrients.json' +], function (echarts) { +var option; + +option = { +xAxis: { +type: 'value' +}, +yAxis: { +type: 'value' +}, +series: [ +{ +data: [ +[12, 3], +[15, 50], +[18, 30], +[44, 50] +], +type: 'line' +} +], +dataZoom: { +startValue: 18 +} +}; + +var chart = testHelper.create(echarts, 'main1', { +title: [ +'Value xAxis with startValue' +], +option: option +}); +}); + + + + + +require([ +'echarts', +// 'map/js/china', +// './data/nutrients.json' +], function (echarts) { +var option; + +option = { +xAxis: { +type: 'value', +min: 8 +}, +yAxis: { +type: 'value' +}, +series: [ +{ +data
[echarts-bot] branch master updated: feat: disable adding "waiting for community" label
This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-bot.git The following commit(s) were added to refs/heads/master by this push: new 3973634 feat: disable adding "waiting for community" label 3973634 is described below commit 3973634a68cc4ee888025fb63686b03d6cea87f9 Author: Ovilia AuthorDate: Thu May 26 19:41:51 2022 +0800 feat: disable adding "waiting for community" label --- index.js | 4 ++-- src/issue.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index ee585a1..8844a34 100644 --- a/index.js +++ b/index.js @@ -159,11 +159,11 @@ module.exports = (/** @type import('probot').Probot */ app) => { else if (isCommenterAuthor) { // New comment from issue author removeLabel = labelText.WAITING_FOR_AUTHOR; -addLabel = labelText.WAITING_FOR_COMMUNITY; +// addLabel = labelText.WAITING_FOR_COMMUNITY; } return Promise.all([ removeLabels(context, [removeLabel]), -addLabels(context, [addLabel]) +addLabel && addLabels(context, [addLabel]) ]); }); diff --git a/src/issue.js b/src/issue.js index 084a360..b2e7423 100644 --- a/src/issue.js +++ b/src/issue.js @@ -34,7 +34,7 @@ class Issue { return; } this.addLabels.push(label.PENDING); -this.addLabels.push(label.WAITING_FOR_COMMUNITY); +// this.addLabels.push(label.WAITING_FOR_COMMUNITY); } // translate issue - To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org