Description
ngx-charts is a declarative charting framework for Angular, made by the Swimlane open-source team. Rather than wrapping another chart engine, it uses Angular to render and animate the SVG elements of each chart, and it uses d3 for scales, axes and shape generators. Because Angular does the rendering, charts take advantage of Angular features such as ahead-of-time compilation and server-side rendering. The library covers common chart types, including horizontal and vertical bar charts in standard, grouped, stacked and normalized forms, line and area charts, pie and donut charts, bubble charts, gauges, heatmaps, treemaps, number cards and Sankey diagrams. Customization options include autoscaling, timeline filtering, line interpolation, configurable axis labels, legends with labels or gradients, advanced label positioning, real-time data support, advanced tooltips and data point event handlers. Styles can be overridden with CSS. You install it from npm, and a custom charts page explains how to combine its components into your own charts. The repository includes its release steps and a changelog.…
Highlights
- Declarative charts rendered by Angular
- Bar, line, area, pie, heatmap and Sankey charts
- Autoscaling, timeline filtering and real-time data
- Legends, tooltips and axis labels you can configure
- Styles overridable with CSS
- Installs from npm
Ratings & Reviews
No ratings yet
Be the first to rate ngx-charts.
People also visit
ngx-charts FAQ
What is ngx-charts?
A charting library for Angular. You declare charts as components, and Angular renders the SVG.
How do I install it?
Install it from npm into your Angular project, as the README's install section describes.
Which chart types are available?
Horizontal and vertical bar charts, line and area charts, pie, bubble, donut, gauges, heatmaps, treemaps, number cards and Sankey diagrams.
Can I change how charts look?
Yes. The styles can be overridden with CSS, and you can configure labels, legends, tooltips and data point handlers.
Can I build my own chart type?
Yes. The custom charts page explains how to use the library's components to build your own charts.
Is it open source?
Yes. The README describes ngx-charts as a Swimlane open-source project, and the code is on GitHub.
What are the best ngx-charts alternatives?
Popular alternatives to ngx-charts include ng-apexcharts, ng-chartist and ngx-graph. See all ngx-charts alternatives




















