You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "echarts-bot[bot] (via GitHub)" <gi...@apache.org> on 2023/08/16 09:39:56 UTC
[GitHub] [echarts] echarts-bot[bot] commented on issue #18998: [Bug] 柱状图堆叠后无法平滑移动
echarts-bot[bot] commented on issue #18998:
URL: https://github.com/apache/echarts/issues/18998#issuecomment-1680286693
@ciuciuy It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
<details><summary><b>TRANSLATED</b></summary><br>
**TITLE**
[Bug] The histogram cannot move smoothly after being stacked
**BODY**
### Version
5.4.2
### Link to Minimal Reproduction
https://codesandbox.io/s/thirsty-christian-qkmdyn?file=/src/index.js
### Steps to Reproduce
option = {
xAxis: {
type: 'category',
data: ['A', 'B', 'C', 'D', 'E', 'F','E','G','H','I']
},
yAxis: {
type: 'value'
},
series: [
{
type: 'bar',
stack: 'stack',
data: [1,3,4,5,1,5,6,1,3,4,5,1,5,6]
},
{
type: 'bar',
stack: 'stack',
data: [-1,-3,-4,-5,-1,-5,-6,-1,-3,-4,-5,-1,-5,-6]
}
],
dataZoom:[{
type: 'slider',
minValueSpan: 6,
maxValueSpan: 6,
}],
};
### Current Behavior
Because you need to set the stacking effect, the type needs to use 'category', but when you set the dataZoom to move left and right, you can only slide one by one, not smoothly, look at the following example, if you use type:'value', the sliding is relatively smooth.
### Expected Behavior
It is expected to meet the effect of stacking and smooth left and right movement at the same time, otherwise it will look like there will be a stuttering vision
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org