echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[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.

Open tiaotiao132 opened this issue 1 year ago • 3 comments

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 avatar May 07 '24 06:05 tiaotiao132

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

echarts-bot[bot] avatar May 07 '24 06:05 echarts-bot[bot]

maybe adding barMaxWidth will help in this case

helgasoft avatar May 07 '24 17:05 helgasoft

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?

tiaotiao132 avatar May 08 '24 09:05 tiaotiao132