Skip to content

Commit

Permalink
Update 2022-09-12 (#3)
Browse files Browse the repository at this point in the history
* chore(type): export type ElementEvent

close apache#15284

* rm newline

* feat(graph): simple layout graph support dragging

* test(graph): add simple graph draggable test case

* feat(graph): update circular layout helper function

* feat(graph): support draggable for all graph layout ('none' | 'circular' | 'force')

* test(graph): add graph draggable test case

* Revert "test(graph): add simple graph draggable test case"

This reverts commit 78b2475.

* fix(graph): node el check for circular layout

* fix(graph): remove GraphNode `_fixed` field

* fix(graph): use zrender/vector calculate node layout

* fix: not trigger roam on el's child

* fix: fix code

* fix: remove useless code

* fix: store fixed state in layout object

* fix: use mouse position calculate circular layout

* feat(LineDraw):series-lines support the effect animation go back

* rename the option from goback to roundTrip

* feat: ignore target size for large charts

* feat: make target size an option

* feat: rename test file

* feat: rename variables

* feat(pie): support specifying coordinate system for pie series.

* feat(bmap): support `convertToPixel` & `convertFromPixel` API.

* fix: sliderZoom in candlestick dataset error

* chore(workflow): close stale issues as not planned rather than completed. [ci skip]

* fix(custom): fix potential NPE when applying leave transition.

* chore: upgrade stale action to v5

fix `close-issue-reason` option is not being recognized

* fix(log): fix log axis breaks a single data whose log value is negative apache#13154

* fix(log): cache base variable

* fix(axis): fix axis symbol is not reverted when axis is reverse.

* feat(gauge): axisLabel support rotate like sunburst. close 15944

* fix(visualMap): fix the indicator doesn't show when hovering on map label.

* chore: fix some typos

* fix(visualMap): fix wrong type of ecData.

* fix(custom): fix elements may not be removed after updates apache#17333

* fix(custom): apply leave transition and add more comments

* test(custom): add a test case with {} that should preserve child

* test(custom): add a test case

* test: add coarse-pointer in test env

* fix(custom): fix the case for element after the null child

* style: spelling mistakes

* style: spelling mistakes

* style: spelling mistakes

* fix(type): add missing type `number` to `emphasis.scale` of scatter/line/graph series.

* style: fix typo of `RoamPayload`.

* refactor(util): import `encodeHTML` function from `zrender`.

* chore(deps-dev): bump terser from 5.3.8 to 5.14.2

Bumps [terser](https://github.com/terser/terser) from 5.3.8 to 5.14.2.
- [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: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: update zrender to the latest nightly version.

* fix(pie): fix `labelLine` may not be hidden when `minShowLabelRadian` is specified, resolves apache#17013.

* 单轴反向失效问题修复

* fix(custom): ignore element when renderItem returns a group with null elements

* test(custom): update test case for custom update

* fix(bar-race): provide subPixelOptimize option to solve apache#14679

* test(bar-race): update test

* fix(symbol): fix `emphasis.scale` can't be reset and specified value may not be respect.

- null / undefined / true means to use default strategy.
- 0 / false / negative number / NaN / Infinity means no scale.

* test(symbol): add test case for `emphasis.scale`

* test(vrt): fix changing value of select via js doesn't trigger `change` event.

* fix(symbol): remove unused import.

* fix(custom): set ignore only if old child exists (apache#17450)

* feat(axis): set subPixelOptimize to be false during animation

* chore: fix wrong imports from `echarts.all`

* chore: fix wrong imports from `echarts.all`

* fix(axis): remove unnecessary files

* 优化饼图性能

* fix(axis): when update for the first time, make sure done is called

* test(pie): tweak pie-percent case - add time log, percentPrecision & label formatter.

* test(pie): fix test case pie3.html

* fix(theme): fix the abandoned normal level in the theme file. close apache#17473

* fix(coarse-pointer): use retrieve

* fix(theme):  move the label block to the outside.

* fix(subpixel): set animation with subpixel optimization

* fix(subpixel): remove function

* fix(subpixel): refactor

* fix(subpixel): refactor subPixelOptimizeLine

* fix(subpixel): remove an unexpected change

* feat(coarse-pointer): fix test

* feat(coarse-pointer): fix test

* fix: merge conflict

* chore(deps): bump engine.io and socket.io

Bumps [engine.io](https://github.com/socketio/engine.io) and [socket.io](https://github.com/socketio/socket.io). These dependencies needed to be updated together.

Updates `engine.io` from 3.3.2 to 3.6.0
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](socketio/engine.io@3.3.2...3.6.0)

Updates `socket.io` from 2.2.0 to 2.5.0
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/2.5.0/CHANGELOG.md)
- [Commits](socketio/socket.io@2.2.0...2.5.0)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
- dependency-name: socket.io
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix(theme): fix tooltips text style of the theme macarons

* change the  `deprecateReplaceLog` in  sunburstAction.ts

* fix the  deprecateReplaceLog  about downplay

* fix a typo error in `log.ts`

* chore(stale): issues with milestone TBD should not be marked as stale

* chore(stale): exclude all prs with milestones

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Map1en_ <[email protected]>
Co-authored-by: kongmoumou <[email protected]>
Co-authored-by: sushuang <[email protected]>
Co-authored-by: Yi Shen <[email protected]>
Co-authored-by: [email protected] <[email protected]>
Co-authored-by: Ovilia <[email protected]>
Co-authored-by: plainheart <[email protected]>
Co-authored-by: jiawulin001 <[email protected]>
Co-authored-by: MeetzhDing <[email protected]>
Co-authored-by: ZT <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 杨骥 <[email protected]>
Co-authored-by: liangism <[email protected]>
Co-authored-by: mousne <[email protected]>
Co-authored-by: gitforhlp <[email protected]>
Co-authored-by: ChepteaCatalin <[email protected]>
  • Loading branch information
17 people authored Sep 12, 2022
1 parent 77d2cff commit d755f14
Show file tree
Hide file tree
Showing 92 changed files with 2,928 additions and 1,185 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,18 @@ jobs:
if: ${{ github.repository_owner == 'apache' }}
steps:
- name: Close Stale Issues
uses: actions/stale@v4
uses: actions/stale@v5
with:
days-before-stale: 730
days-before-close: 7
stale-issue-label: stale
stale-pr-label: stale
stale-issue-message: 'This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.'
close-issue-message: 'This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!'
close-issue-reason: 'not_planned'
stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this PR. We are sorry for this but 2 years is a long time and the code base has been changed a lot. Thanks for your contribution anyway.'
close-pr-message: 'This PR has been automatically closed because it has not had recent activity. Sorry for that and we are looking forward to your next contribution.'
exempt-issue-labels: 'FAQ,priority: high'
exempt-all-milestones: true
operations-per-run: 500
ascending: true
14 changes: 14 additions & 0 deletions extension-src/bmap/BMapCoordSys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ function BMapCoordSys(bmap, api) {
this._projection = new BMap.MercatorProjection();
}

BMapCoordSys.prototype.type = 'bmap';

BMapCoordSys.prototype.dimensions = ['lng', 'lat'];

BMapCoordSys.prototype.setZoom = function (zoom) {
Expand Down Expand Up @@ -107,6 +109,15 @@ BMapCoordSys.prototype.prepareCustoms = function () {
};
};

BMapCoordSys.prototype.convertToPixel = function (ecModel, finder, value) {
// here we ignore finder as only one bmap component is allowed
return this.dataToPoint(value);
};

BMapCoordSys.prototype.convertFromPixel = function (ecModel, finder, value) {
return this.pointToData(value);
};

function dataToCoordSize(dataSize, dataItem) {
dataItem = dataItem || [0, 0];
return zrUtil.map([0, 1], function (dimIdx) {
Expand Down Expand Up @@ -229,6 +240,9 @@ BMapCoordSys.create = function (ecModel, api) {
seriesModel.coordinateSystem = bmapCoordSys;
}
});

// return created coordinate systems
return bmapCoordSys && [bmapCoordSys];
};

export default BMapCoordSys;
Loading

0 comments on commit d755f14

Please sign in to comment.