Skip to content
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

fix reversed stacking order #38495

Merged
merged 3 commits into from
Feb 7, 2024
Merged

Conversation

EmmadUsmani
Copy link
Contributor

@EmmadUsmani EmmadUsmani commented Feb 6, 2024

Closes #37931

Description

Fixes the stacking order of stacked bars/area charts to be top to bottom, so that they match the legend and sidebar order.

Note that the existing dc.js behavior was incorrect (legend and chart didn't match the sidebar), so this PR fixes it completely rather than recreating the incorrect behavior.

Demo

Screenshot 2024-02-06 at 3.41.49 PM.png

Screenshot 2024-02-06 at 3.41.59 PM.png

Screenshot 2024-02-06 at 3.55.02 PM.png

Checklist

  • Tests have been added/updated to cover changes in this PR

@metabase-bot metabase-bot bot added the .Team/DashViz Dashboard and Viz team label Feb 6, 2024
Copy link

github-actions bot commented Feb 7, 2024

🚨 Visual Regression Tests failed. Get the report artifact

Copy link

github-actions bot commented Feb 7, 2024

🚨 Visual Regression Tests failed. Get the report artifact

Copy link

github-actions bot commented Feb 7, 2024

Snapshots have been updated

Copy link

github-actions bot commented Feb 7, 2024

🚨 Visual Regression Tests failed. Get the report artifact

@EmmadUsmani EmmadUsmani mentioned this pull request Feb 7, 2024
1 task
@EmmadUsmani EmmadUsmani force-pushed the 02-06-fix_reversed_stacking_order branch from c856657 to 57581c4 Compare February 7, 2024 23:26
@EmmadUsmani EmmadUsmani merged commit ad7b23a into echarts Feb 7, 2024
79 of 141 checks passed
@EmmadUsmani EmmadUsmani deleted the 02-06-fix_reversed_stacking_order branch February 7, 2024 23:29
alxnddr pushed a commit that referenced this pull request Mar 31, 2024
* fix reversed stacking order

* only reverse series if it is stacked

* manually update loki images
alxnddr pushed a commit that referenced this pull request Apr 15, 2024
* fix reversed stacking order

* only reverse series if it is stacked

* manually update loki images
alxnddr pushed a commit that referenced this pull request Apr 18, 2024
* fix reversed stacking order

* only reverse series if it is stacked

* manually update loki images
alxnddr pushed a commit that referenced this pull request Apr 19, 2024
* fix reversed stacking order

* only reverse series if it is stacked

* manually update loki images
alxnddr pushed a commit that referenced this pull request Apr 25, 2024
* fix reversed stacking order

* only reverse series if it is stacked

* manually update loki images
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
loki-update .Team/DashViz Dashboard and Viz team visual Run Percy visual testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants