Skip to content

[charts] Refactor LineChart classes structure (@JCQuintas)#21672

Open
github-actions[bot] wants to merge 2 commits intov8.xfrom
cherry-pick-21648-to-v8.x
Open

[charts] Refactor LineChart classes structure (@JCQuintas)#21672
github-actions[bot] wants to merge 2 commits intov8.xfrom
cherry-pick-21648-to-v8.x

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 9, 2026

Cherry-pick of #21648

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added cherry-pick The PR was cherry-picked from the newer alpha/beta/stable branch. scope: charts Changes related to the charts. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. labels Mar 9, 2026
@mui-bot
Copy link

mui-bot commented Mar 9, 2026

Deploy preview: https://deploy-preview-21672--material-ui-x.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/x-data-grid 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-pro 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-premium 0B(0.00%) 0B(0.00%)
@mui/x-charts 🔺+819B(+0.23%) 🔺+204B(+0.19%)
@mui/x-charts-pro 🔺+813B(+0.17%) 🔺+259B(+0.18%)
@mui/x-charts-premium 🔺+819B(+0.17%) 🔺+320B(+0.22%)
@mui/x-date-pickers 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers-pro 0B(0.00%) 0B(0.00%)
@mui/x-tree-view 0B(0.00%) 0B(0.00%)
@mui/x-tree-view-pro 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 9ea0d19

Comment on lines +22 to +29

export interface MarkElementOwnerState {
id: SeriesId;
isFaded: boolean;
isHighlighted: boolean;
classes?: Partial<LineClasses>;
skipAnimation?: boolean;
}
Copy link
Member

Choose a reason for hiding this comment

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

I don't get why this type is here

Copy link
Member

Choose a reason for hiding this comment

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

I guess it is because in the BarChart it got moved as well. I first had it removed, so when it was added back it was added on a different place

Copy link
Member

Choose a reason for hiding this comment

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

Don't think it is a big issue, we will probably remove it when we remove the deprecations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick The PR was cherry-picked from the newer alpha/beta/stable branch. scope: charts Changes related to the charts. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants