100pah opened a new pull request #13994:
URL: https://github.com/apache/incubator-echarts/pull/13994
<!-- Please fill in the following information to help us review your PR more
efficiently. -->
## Brief Information
This pull request is in the type of:
- [x] bug fixing
- [ ] new feature
- [ ] others
### What does this PR do?
+ Clip:
+ if a bar element is totally clipped (marked as `el.ignore: true`),
place the element at the edge of the coordinate system bounding rect with
width/height 0. Because if data changed and the element show again, the
transition animation of this element will start at this place.
+ Fix #13677.
+ Previously when base axis is x, the initial sort is different from the
subsequent sort. Fixed it.
+ Remove the transition animation of the baseAxis init state to the first
sorted state.
+ Fix that throw error when series data does not cover all axis category.
+ Fix some incorrect logic like:
+ BarView sortMap input param
+ OrdinalScale['scale']
+ OrdinalScale['getTicks']
+ Simplify and clarify the params `sortInfo` of action "changeAxisOrder".
```js
// before:
sortInfo: [
// `beforeSortIndex` is not easy to understand and not necessary.
{ ordinalNumber: 2, beforeSortIndex: 4 },
{ ordinalNumber: 5, beforeSortIndex: 5 },
{ ordinalNumber: 3, beforeSortIndex: 0 },
{ ordinalNumber: 4, beforeSortIndex: 2 },
{ ordinalNumber: 0, beforeSortIndex: 3 },
{ ordinalNumber: 1, beforeSortIndex: 1 },
]
// after:
sortInfo: {
ordinalNumbers: [2, 5, 3, 4, 0, 1]
}
```
+ some small refactor: naming, code organization, type. Add comments.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]