Skip to content

Component | Stacked Bar: Fix breaking change in event datum; Consistent rounded corners#743

Merged
lee00678 merged 4 commits intof5:mainfrom
rokotyan:fix/stacked-bar-rounded-corners-and-event-datum
Feb 19, 2026
Merged

Component | Stacked Bar: Fix breaking change in event datum; Consistent rounded corners#743
lee00678 merged 4 commits intof5:mainfrom
rokotyan:fix/stacked-bar-rounded-corners-and-event-datum

Conversation

@rokotyan
Copy link
Contributor

A recent performance improvement PR introduced a breaking change to the event data structure of Stacked Bar, which I overlooked. This PR fixes it by mapping the data back to the original structure while also keeping the new datum property for maximum compatibility.

Before

SCR-20260217-lpxf

After

SCR-20260217-lqce

It also addresses #692 by fixing the isEnding calculation.

Before

SCR-20260217-lppt

After

SCR-20260217-lpmr

Introduce a protected `_mapEventDatum` method on ComponentCore that defaults to identity and is invoked in `_bindEvents` before calling event handlers.

Override this in StackedBar to merge the event record with the original datum (for compatibility with a changed event data structure introduced during performance optimizations).
Copy link
Collaborator

@lee00678 lee00678 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@lee00678 lee00678 merged commit 82d4041 into f5:main Feb 19, 2026
4 checks passed
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