Skip to content

[Bug] Stacked Bar Animation has gaps between series #19095

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

Open
archiewood opened this issue Sep 8, 2023 · 0 comments · May be fixed by #20862
Open

[Bug] Stacked Bar Animation has gaps between series #19095

archiewood opened this issue Sep 8, 2023 · 0 comments · May be fixed by #20862
Labels
bug en This issue is in English pending We are not sure about whether this is a bug/new feature.

Comments

@archiewood
Copy link

archiewood commented Sep 8, 2023

Version

5.4.2

Link to Minimal Reproduction

See example in docs page: https://apache.github.io/echarts-handbook/en/how-to/chart-types/bar/stacked-bar/#

Steps to Reproduce

  1. View the stacked bar in the docs
  2. Reload the page so the transition animates

Current Behavior

  1. There are gaps between the series as they animate in, each of the bar series "fills" up independently, meaning the transition looks odd

CleanShot 2023-09-07 at 21 40 57

Expected Behavior

  1. There are no gaps between the series as they animate in.

This could either be:

Option A. each series starts from zero thickness, at the x axis, and expands to its full extent, with the series also "moving up" as they go
Option B. the bar animates as a single unit, and the series are revealed as the animation progresses

I have tried to illustrate this below. Time is progressing left to right.

CleanShot 2023-09-07 at 22 02 09@2x

Environment

All, as far as I am aware!

Any additional comments?

It's possible this is "expected behaviour" and therefore a feature request not a bug. But it does look very strange.

@archiewood archiewood added the bug label Sep 8, 2023
@echarts-bot echarts-bot bot added en This issue is in English pending We are not sure about whether this is a bug/new feature. labels Sep 8, 2023
@archiewood archiewood changed the title [Bug] Stacked Bar Animation [Bug] Stacked Bar Animation has gaps between series Sep 8, 2023
@Enigmatrix Enigmatrix linked a pull request Mar 25, 2025 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug en This issue is in English pending We are not sure about whether this is a bug/new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant