Skip to content

fix: Show x values in data order when grouping enabled#50

Merged
morishin merged 1 commit intobdash-app:mainfrom
nekketsuuu:nekketsuuu-grouping
Mar 10, 2026
Merged

fix: Show x values in data order when grouping enabled#50
morishin merged 1 commit intobdash-app:mainfrom
nekketsuuu:nekketsuuu-grouping

Conversation

@nekketsuuu
Copy link
Contributor

@nekketsuuu nekketsuuu commented Mar 3, 2026

The same change as bdash-app/bdash#320.

Before After
スクリーンショット 2026-03-04 0 04 18 スクリーンショット 2026-03-04 0 04 35

The same change as bdash-app/bdash#320.
The following is the same description of the pull request above.

----

If the following conditions are met:

- Grouping is enabled,
- Values of x axis are not sorted by Plotly, and
- Some y value of some group is missing on some x value,

then the order of x values is broken because missing values are processed afterward.

This patch completely rewrote the way to pack values with grouping, and fixed the problem above by filling the missing values with null.

Co-authored-by: Claude <noreply@anthropic.com>
@nekketsuuu nekketsuuu force-pushed the nekketsuuu-grouping branch from e921c6d to dc782ae Compare March 3, 2026 15:13
@morishin morishin merged commit be3bfd8 into bdash-app:main Mar 10, 2026
@nekketsuuu nekketsuuu deleted the nekketsuuu-grouping branch March 11, 2026 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants