Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] When the x-axis type of the histogram is time and the time of the data in the series is discontinuous, the zoom range is limited. Use datazoom to zoom in. There will be problems with the zoom effect. #19899

Open
tiaotiao132 opened this issue May 7, 2024 · 3 comments
Labels
bug pending We are not sure about whether this is a bug/new feature.

Comments

@tiaotiao132
Copy link

Version

5.5.0

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=bar-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5JALZW0A0J6DE0AktGFQCcAbgEMANkQDMANgAMs2ACpYAJgAsS2JIXKAjPNlt0AXyOxyOfEVSkylGrFqixAV2YlTJPIIhVCsAG12Ylt0ABMRMBEiAIDaFVl1AFpZAFZWWF0EgF0WOITk2QAODITZXMD4xLUUgE4MpJyWSoKa3V0MgHZyvKqVVJSOlmzYXoKBxNZdVPLc4PQKajoAIxEBWmDjEjmF4GAxSBBrYLABCABzc8E6EVw8Vg8zCKiALT2GGOCbUMWHWi48BAwswzLZsHdeMCMERDPNYJxoAA1cRuADKIBE0Ckch0qg0ym0mn08k0klBpAAZhADoIALLAYF0Kk09bkzy2AD0HJCpC5pF-dDwYiBggenO56HB-EhVGhsPFpARyNcVHRmOxJOU6lJuOJOjJwT5W1sO1IYioV2gYWOoVgmxQxgA3EA

Steps to Reproduce

1.慢慢放大柱状图
2.就会出现一条柱状图数据出现在好几个月份
issue repo

Current Behavior

柱状图x轴type为time时 series中data的时间为不连续的月份的时候,限制放大范围为3个月(或任意月份),使用datazoom放大 放大效果会有问题

Expected Behavior

期待可以放大后的效果是正常的
image

Environment

- OS: macOS Monterey
- Browser: Chrome 124.0.6367.119
- Framework:

Any additional comments?

No response

@tiaotiao132 tiaotiao132 added the bug label May 7, 2024
@echarts-bot echarts-bot bot added the pending We are not sure about whether this is a bug/new feature. label May 7, 2024
Copy link

echarts-bot bot commented May 7, 2024

@tiaotiao132 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. 🤗

TRANSLATED

TITLE

[Bug] When the x-axis type of the histogram is time and the time of the data in the series is discontinuous, the zoom range is limited. Use datazoom to zoom in. There will be problems with the zoom effect.

@tiaotiao132 tiaotiao132 changed the title [Bug] 柱状图x轴type为time时 series中data的时间为不连续的时候,限制放大范围,使用datazoom放大 放大效果会有问题 [Bug] When the x-axis type of the histogram is time and the time of the data in the series is discontinuous, the zoom range is limited. Use datazoom to zoom in. There will be problems with the zoom effect. May 7, 2024
@helgasoft
Copy link

maybe adding barMaxWidth will help in this case

@tiaotiao132
Copy link
Author

maybe adding barMaxWidth will help in this case
Thank you!This can indeed resolve the problem, but this problem did not occur in continuously time, is it a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug pending We are not sure about whether this is a bug/new feature.
Projects
None yet
Development

No branches or pull requests

2 participants