Skip to content

[Bug] Cannot zoom out to see all categories by scrolling mouse wheel in chart with category axis #21541

@vothanh306

Description

@vothanh306

Version

The latest version. Because I can reproduce it in the eCharts editor.

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=lVM9T8MwEN2R-A-3ZWHgewhiYGSokACBBOrgNtdykuurbKc0VP3vnO04SUMXssR3effeuzuH157YwD3sTk8AKuXVB_OqhM8QAuxgQdqjnXCFJRQpKM7AN-sQk3FUocTbhy25R1PhVkrPp7A_-199M64P5dNE4pn1jOVDtAjgvvi7BG9rbEUWqHxtha8FDPvoUsJzoJnz2WkqeiMU7h1YVNWT0U0JC6UdDlArtaT5a6TatZSfhSYTuihmyhZ98yA0znN01uec2uCDexSemE_p-EqYOMqevJgrj0u2jfAHh0FuwiaovdZR9B2rGH3VnXYc54Bjo7RgO2MbcrXSE7Xu5pO12HgyNdeuaKErMiWc50DJFm7bQOPCl3CRv5F5Via21E8cYM6abbBsk0m2ARRODWrN3-G0tIixn1kwKW8yFS05nDbEGn0x7SkHg3JoCaXLfFW7ATerGesX-hEzl9leWm8HDk-e40V7z9pkmurlYTIhr44hr48hb44hbw-TaW9jddniH_WEHKtH5Eg9IcfqERnVc7oHtJt3cs3Crzm4jjL1_d0v&enc=deflate

Steps to Reproduce

  1. Zoom into two categories by using zoom in the toolbox.
  2. Scroll mouse wheel to zoom out.
  3. Observe that users can zoom out to see all categories.
  4. Zoom into a single category by using zoom in the toolbox.
  5. Scroll mouse wheel to zoom out.
  6. Observe that users cannot zoom out to see all categories, only show the zoomed category at step 4.

Current Behavior

User cannot zoom out to see all categories by scrolling mouse wheel when using data zoom from toolbox to zoom in a single category

Expected Behavior

User should be able to zoom out to see all categories by scrolling mouse wheel when using data zoom from toolbox to zoom in a single category

Environment

- OS: Windows 11 Enterprise
- Browser: Google Chrome Version 145.0.7632.160
- Framework: eCharts Editor https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=lVM9T8MwEN2R-A-3ZWHgewhiYGSokACBBOrgNtdykuurbKc0VP3vnO04SUMXssR3effeuzuH157YwD3sTk8AKuXVB_OqhM8QAuxgQdqjnXCFJRQpKM7AN-sQk3FUocTbhy25R1PhVkrPp7A_-199M64P5dNE4pn1jOVDtAjgvvi7BG9rbEUWqHxtha8FDPvoUsJzoJnz2WkqeiMU7h1YVNWT0U0JC6UdDlArtaT5a6TatZSfhSYTuihmyhZ98yA0znN01uec2uCDexSemE_p-EqYOMqevJgrj0u2jfAHh0FuwiaovdZR9B2rGH3VnXYc54Bjo7RgO2MbcrXSE7Xu5pO12HgyNdeuaKErMiWc50DJFm7bQOPCl3CRv5F5Via21E8cYM6abbBsk0m2ARRODWrN3-G0tIixn1kwKW8yFS05nDbEGn0x7SkHg3JoCaXLfFW7ATerGesX-hEzl9leWm8HDk-e40V7z9pkmurlYTIhr44hr48hb44hbw-TaW9jddniH_WEHKtH5Eg9IcfqERnVc7oHtJt3cs3Crzm4jjL1_d0v&enc=deflate

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions