Skip to content

feat(multiple): add Material chart component with line, bar, and pie …#33009

Open
Mr-KRAMA wants to merge 2 commits intoangular:mainfrom
Mr-KRAMA:feat/material-charts
Open

feat(multiple): add Material chart component with line, bar, and pie …#33009
Mr-KRAMA wants to merge 2 commits intoangular:mainfrom
Mr-KRAMA:feat/material-charts

Conversation

@Mr-KRAMA
Copy link
Copy Markdown
Contributor

Closes #33002. This PR introduces @angular/material/charts, a Material Design–styled SVG chart component that supports line, bar, and pie chart types. It includes the MatChart component, MatChartsModule, and MatChartValuePipe, providing a native charting solution within Angular Material. Currently, Angular Material does not offer built-in chart components, so this addition fills that gap without relying on third-party libraries, helping maintain consistency and reduce external dependencies.

The implementation adds a new entry point at src/material/charts/, along with full support for both M2 and M3 design tokens. It also introduces theming capabilities, including base, color, typography, and density mixins, and updates src/material/_index.scss to expose chart-related theme mixins. Usage is straightforward, allowing developers to render charts using the component with configurable datasets and options.

This PR includes 30 unit tests, has zero TypeScript errors, and does not impact any existing tests or functionality.

@pullapprove pullapprove bot requested review from andrewseguin and ok7sai March 30, 2026 03:51
@angular-robot angular-robot bot added the detected: feature PR contains a feature commit label Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

detected: feature PR contains a feature commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(charts): Angular Material Chart Component

1 participant