Skip to content

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

@akashsonune

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

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