- remove d3.js and add chart.js

- add extra chartjs.module
- add extra diagram-view component for binding properties to chartjs chart
This commit is contained in:
Arno Kaimbacher 2021-09-23 15:12:22 +02:00
parent 92d0e94582
commit 5f657dc9e4
18 changed files with 265 additions and 1330 deletions

View file

@ -0,0 +1,19 @@
import { Injectable } from '@angular/core';
import { Router } from '@angular/router';
@Injectable({
providedIn: 'root'
})
export class AppRouterService {
private router: Router
constructor(router: Router) {
this.router = router;
}
public toDiagram() {
this.router.navigate(['diagram'])
}
}