0.0.1 • Published 6 years ago

lib-charts v0.0.1

Weekly downloads
4
License
-
Repository
-
Last release
6 years ago

LibCharts

This library was generated with Angular CLI version 7.2.0.

Summary & Contents

Package containing the various stateless chart components. Use this package to add any new chart component.

These include the following exports:

Components

  • PerformanceBreakdownChartComponent

Interfaces

  • None.

Install:

npm i @appscatter/libcharts --save-dev

Once installed via npm, you can use each by importing: import { PerformanceBreakdownChartComponent } from '@appscatter/libcharts';

<lib-performance-breakdown-chart
    id="chart1"
    [downloadsSeries]="downloadsSeries"
    [previousDownloadsSeries]="previousDownloadsSeries"
></lib-performance-breakdown-chart>

Code scaffolding

Run ng generate component component-name --project lib-charts to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project lib-charts.

Note: Don't forget to add --project lib-charts or else it will be added to the default project in your angular.json file.

Build

Run ng build lib-charts to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build lib-charts, go to the dist folder cd dist/lib-charts and run npm publish.

Running unit tests

Run ng test lib-charts to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

0.0.1

6 years ago