Socket
Socket
Sign inDemoInstall

@swimlane/ngx-charts

Package Overview
Dependencies
Maintainers
45
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swimlane/ngx-charts

Declarative Charting Framework for Angular


Version published
Weekly downloads
110K
decreased by-17.92%
Maintainers
45
Weekly downloads
 
Created

What is @swimlane/ngx-charts?

@swimlane/ngx-charts is a declarative charting framework for Angular. It provides a variety of chart types and is built using D3.js. The package is designed to be simple to use and highly customizable, making it suitable for a wide range of data visualization needs.

What are @swimlane/ngx-charts's main functionalities?

Bar Chart

This feature allows you to create a vertical bar chart. The code sample demonstrates how to bind data to the chart and configure various options such as axis labels and legend.

<ngx-charts-bar-vertical [results]="data" [scheme]="colorScheme" [xAxis]="true" [yAxis]="true" [legend]="true" [showXAxisLabel]="true" [showYAxisLabel]="true" [xAxisLabel]="'Country'" [yAxisLabel]="'Population'"></ngx-charts-bar-vertical>

Line Chart

This feature allows you to create a line chart. The code sample shows how to set up the chart with data and configure the axes and legend.

<ngx-charts-line-chart [results]="data" [scheme]="colorScheme" [xAxis]="true" [yAxis]="true" [legend]="true" [showXAxisLabel]="true" [showYAxisLabel]="true" [xAxisLabel]="'Year'" [yAxisLabel]="'Value'"></ngx-charts-line-chart>

Pie Chart

This feature allows you to create a pie chart. The code sample demonstrates how to bind data to the chart and configure options such as the legend and labels.

<ngx-charts-pie-chart [results]="data" [scheme]="colorScheme" [legend]="true" [doughnut]="false" [labels]="true"></ngx-charts-pie-chart>

Other packages similar to @swimlane/ngx-charts

Keywords

FAQs

Package last updated on 14 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc