Skip to content

Chtau/dlChart

Repository files navigation

dlChart

Lightweight Angular Chart Library.

The goal of this Library is to have an easy to use and small in size Chart Library. It perfect for the usage in a Dashboard or somewhere where you can't / won't lazy load a Chart Library.

The Charts are created with SVG which makes them responsive for every screen resolution and have no extern Library Dependencies.

View Example and Documentation

Charts

Features

  • Pie Chart
  • Line Chart
  • Horizontal & Vertical Bar Chart (can also be mirrored)
  • Legend module & service
  • minimal package size
  • no external Libraries
  • SVG
  • Autoscaling
  • customizeable Tooltips
  • click / select / hover Events with additional Data
  • AOT
  • Angular Universal
  • easy to use with autogenerated Scales
  • Theme support (light and dark integrated)

Install

npm i dl-chart npm

Build

Run ng build dlChart to build the library.The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build. Copy the Theme SCSS files from the source to the artifact folders.

Running unit tests

Run ng test dlChart to execute the unit tests via Karma.

current Code coverage

License

MIT © Christoph Taucher

Version

Changelog

Angular 8+