Skip to content

[Bug] Incorrect display of Series bars on zoom in #19666

Closed as not planned

Description

@akashsonune

Version

5.5.0

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=dataset-simple0&code=PYBwLglsB2AEC8sDeAoWbZmMANpEAXMgL4A0GsAzgKYBOE1lRA2hbO6u112AJ4jUiAcgBGAQ1pDy3btDEBbQbCEBlOg0qwAjFLbcAJmLBiWemcyEA1MTgCu1bVNgAOALrSZ3C9bsOATE5aAAzuZl5WNvawAMyBoZ7hPlEALE4A7PEJ7N6RDgCsTn6ZWTm-sABsTnnFCaVRaYEhHiURZc5Obs21rVEAnE7lrmGwQ55kZpwJfALC4pJd3HMA4mKEQQtccorCavSMsAEb7IbGplnZPQ46pDE1nnX-jXfmlzEdz4m5sKk3WlofXAesAKN2qR0Br0qN2SAIuSQcDRunWGcK-7VBsNgQP6N0Gw1GMnG7EyAA8AIIkiBMZCYfhKIQAYyM1AA5sBaLwhLAibBeBSqUQkNN6QA3XJCHknMQALWw8gIk3YADMIHg6ABZYD6QRCaAwai6bjCghCSg4CDayQYHkAehtsAAItQGTgJA4aCK6DZYHMqOpGDdqGIGQALWAAd1VOB9DnkqwE-gwdswwFgYlgDNwtnkcGAStgUpoYAAdJRgLZaAyHCJeAXqEqxLY8MW0ChiABuIA

Steps to Reproduce

  1. Add a series of type 'bar'
  2. Add a dataZoom with 'type: slider' and 'filterMode:'none''
  3. Preferably add tooltip option.
  4. Zoom in with the slider to max possible view, so that a single bar is visible
  5. Check the tooltip which shows correct value of the bar, but the bar graphic does not represent the same. It shows some random value and not the one on tooltip

Current Behavior

The issue only occurs when the series type is bar and the dataZoom.filterMode = 'none'

Expected Behavior

The actual representation of the bar graphic should match the actual value (the one also on tooltip)

See in the image: actual value is 8, but on the UI bar is set to 10
Echarts

Environment

- OS: Windows
- Browser: Chrome
- Framework: Angular 17

Any additional comments?

No response

Activity

  1. added
    en
    pending
    on Feb 29, 2024
  2. changed the title [-][Bug] Incorrect display of Series bars on zoom in [/-] [+][Bug] Incorrect display of Series bars on zoom in[/+] on Feb 29, 2024
  3. helgasoft commented on Feb 29, 2024

    @helgasoft

    confirmed - bug in filterMode:'none' when zoomed in to a single category value - Demo.

    image

  4. github-actions commented on Feb 28, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

  5. added
    stale
    on Feb 28, 2026
  6. added 2 commits that reference this issue on Mar 2, 2026
    eec6f72
    b7f7313
  7. github-actions commented on Mar 8, 2026

    @github-actions
    Contributor

    This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenpendingstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions