You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the following code and notice that in 5.2.2 the bars stack up while in 5.3.0 they seem to be one on top of the other essentially showing only one bar.
The bar chart has 2 data points for the same x-axis category value of Asia. However, there is a piecewise visualmap on a different category dimension. In 5.2.2 this results in showing the data as stacked with the "stack" option. But in 5.3.0 one data point seem to overwrite the other.
Expected Behavior
The bar should show as stacked.
Environment
- OS: N/A
- Browser: N/A
- Framework: N/A
Any additional comments?
The stacking behavior as seen in 5.2.2 was there for a long time including in v4.
The text was updated successfully, but these errors were encountered:
@pissang, thanks for providing the reason for why this is now happening. The requirement to have separate series for stacked bar works well for static stacks (like cost + profit = total revenue), but forces to create lots of series if the stack is dynamic (revenue broken down by country). It would be nice to not regress the existing behavior if possible or provide any other suitable way to solve the dynamic stacks without creating one series per dimension value.
Version
5.3.0
Link to Minimal Reproduction
No response
Steps to Reproduce
Use the following code and notice that in 5.2.2 the bars stack up while in 5.3.0 they seem to be one on top of the other essentially showing only one bar.
Go to https://echarts.apache.org/examples/en/editor.html and try the following in 5.2.2 and 5.3.0.
Current Behavior
The bar chart has 2 data points for the same x-axis category value of Asia. However, there is a piecewise visualmap on a different category dimension. In 5.2.2 this results in showing the data as stacked with the "stack" option. But in 5.3.0 one data point seem to overwrite the other.
Expected Behavior
The bar should show as stacked.
Environment
Any additional comments?
The stacking behavior as seen in 5.2.2 was there for a long time including in v4.
The text was updated successfully, but these errors were encountered: