Volver al ranking

swimlane/ngx-charts

TypeScriptswimlane.github.io/ngx-charts/

:bar_chart: Declarative Charting Framework for Angular

chartdatavizd3angularangular2svgangular-componentsd3jshacktoberfest
Crecimiento de estrellas
Estrellas
4.4k
Forks
1.2k
Crecimiento semanal
Issues
730
2k4k
ene 2023mar 2024may 2025jul 2026
Artefactosnpmnpm install ngx-charts
README

ngx-charts

Join the chat at https://gitter.im/swimlane/ngx-charts Codacy Badge npm version npm downloads

Declarative Charting Framework for Angular!

ngx-charts is unique because we don't merely wrap d3, nor any other chart engine for that matter. It is using Angular to render and animate the SVG elements with all of its binding and speed goodness, and uses d3 for the excellent math functions, scales, axis and shape generators. By having Angular do all of the rendering it opens us up to endless possibilities the Angular platform provides such as AoT, SSR, etc.

Data visualization is a science but that doesn't mean it has to be ugly. One of the big efforts we've made while creating this project is to make the charts aesthetically pleasing. The styles are also completely customizable through CSS, so you can override them as you please.

Also, constructing custom charts is possible by leveraging the various ngx-charts components that are exposed through the ngx-charts module.

For more info, check out the documentation and the demos.

Features

Chart Types

  • Horizontal & Vertical Bar Charts (Standard, Grouped, Stacked, Normalized)
  • Line
  • Area (Standard, Stacked, Normalized)
  • Pie (Explodable, Grid, Custom legends)
  • Bubble
  • Donut
  • Gauge (Linear & Radial)
  • Heatmap
  • Treemap
  • Number Cards
  • Sankey Diagram

Customization

  • Autoscaling
  • Timeline Filtering
  • Line Interpolation
  • Configurable Axis Labels
  • Legends (Labels & Gradient)
  • Advanced Label Positioning
  • Real-time data support
  • Advanced Tooltips
  • Data point Event Handlers
  • Works with ngUpgrade

Install

To use ngx-charts in your project install it via npm:

npm i @swimlane/ngx-charts --save

Custom Charts

To learn how to use the ngx-charts components to build custom charts and find examples, please refer to our Custom Charts Page.

Release

  • Checkout master (git checkout master)
  • Pull master (git pull)
  • Refresh node modules (yarn install --frozen-lockfile)
  • Run tests (yarn test)
  • Examine log to determine next version (X.Y.Z)
  • Run git checkout -b release/X.Y.Z
  • Update version in projects/swimlane/ngx-charts/package.json
  • Update changelog in projects/docs/changelog.md
  • Run yarn package
  • Run git commit -am "(release): X.Y.Z"
  • Run git tag X.Y.Z
  • Run git push origin HEAD --tags
  • Run yarn publish:lib
  • Submit PR

Credits

ngx-charts is a Swimlane open-source project; we believe in giving back to the open-source community by sharing some of the projects we build for our application. Swimlane is an automated cyber security operations and incident response platform that enables cyber security teams to leverage threat intelligence, speed up incident response and automate security operations.

SecOps Hub is an open, product-agnostic, online community for security professionals to share ideas, use cases, best practices, and incident response strategies.

Repositorios relacionados
d3/d3

Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:

ShellISC Licensevisualizationdata-visualization
d3js.org
113.3k22.7k
chartjs/Chart.js

Simple HTML5 Charts using the <canvas> tag

JavaScriptnpmMIT Licensejavascriptchart
chartjs.org
67.6k11.9k
PhilJay/MPAndroidChart

A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.

JavaMavenOtherjavachart
philippjahoda.com
38.2k9k
helm/helm

The Kubernetes Package Manager

GoGo ModulesApache License 2.0cncfchart
helm.sh
30k7.7k
recharts/recharts

Redefined chart library built with React and D3

TypeScriptnpmMIT Licensereactcharting-library
recharts.github.io
27.4k2k
airbnb/visx

🐯 visx | visualization components

TypeScriptnpmMIT Licensevxreact
visx.airbnb.tech
21k767
qax-os/excelize

Go language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets

GoGo ModulesBSD 3-Clause "New" or "Revised" Licensexlsxexcel
xuri.me/excelize
20.8k1.9k
nhn/tui.editor

🍞📝 Markdown WYSIWYG Editor. GFM Standard + Chart & UML Extensible.

TypeScriptnpmMIT Licenseeditorwysiwyg
ui.toast.com/tui-editor
18k1.9k
dream-num/Luckysheet

Luckysheet upgraded to Univer

JavaScriptnpmMIT Licensespreadsheetjavascript
github.com/dream-num/univer/
16.7k2.6k
frappe/charts

Simple, responsive, modern SVG Charts with zero dependencies

JavaScriptnpmMIT Licensechartjavascript
frappe.io/charts/docs
15.1k750
webpack/webpack-bundle-analyzer

Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap

JavaScriptnpmMIT Licensewebpackwebpack-bundle-analyzer
12.7k508
webpack-contrib/webpack-bundle-analyzer

Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap

JavaScriptnpmMIT Licensewebpackwebpack-bundle-analyzer
12.6k489