Home

Awesome

Codacy Badge Build Status npm version Known Vulnerabilities

systelab-charts

Library with charts components to speed up your Angular developments.

Working with the repo

In order to clone the repository and test the library use the following commands:

git clone https://github.com/systelab/systelab-charts.git
cd systelab-charts
npm run build-lib
ng serve

This will bootstrap a showcase application to test the different charts.

In order to publish the library, an authorized npm user is required. Once set, update the version in the package.json, and run the npm publish script:

npm run build-lib
cd dist/systelab-charts
npm publish

Documentation

Read the provided documentation to use the library

Breaking changes

Version 15.3.x - Interface-based configuration

Version 15.x.x - Angular 15

Angular 15 news

Version 14.x.x - Angular 14

Angular 13 news

Angular 14 news

Version 9 - Angular 12

Added chartjs dependencies from peerDependencies to dependencies, now no need to add it in app package that uses the library.

IE11 support has been deprecated due to the upgrade to Angular 12

Use of Ivy, applications that uses this library have to use Angular 12 and Ivy rendering.

Added --noImplicitOverride flag to allow override methods and get error for unintentionally overrides https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-3.html#override-and-the---noimplicitoverride-flag

Version 6

Few changes where introduce in version 6 in order to standardize the library and support Angular 9. The following steps should be considered when migrating from version 5.

  1. When importing the module do not use .forRoot(); In WebStorm, replace in path:
- SystelabChartsModule.forRoot\(\)
- SystelabChartsModule
  1. When importing services and modules import them from systelab-charts root. In WebStorm, replace in path:
- from 'systelab-charts/lib.+
- from 'systelab-charts';