This demonstration repository is based on the codesandbox example by sgratzl's.
It demonstrates the usage of the Chart.js Box and Violin Plot plugin within the Angular 7 environment.
Global npm modules
- npm@6.7.0
- node@8.15.1
- @angular/cli@7.3.8
Dependencies
- chart.js@2.7.2
- chartjs-chart-box-and-violin-plot@1.4.1
- angular2-chartjs@0.5.1
Note: Please import the boxplot plugin as
.js
or.min.js
file instead of the.mjs
default.
This project was generated with Angular CLI version 7.3.8.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.