- 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:
parent
92d0e94582
commit
5f657dc9e4
18 changed files with 265 additions and 1330 deletions
19
src/app/services/app-router.service.ts
Normal file
19
src/app/services/app-router.service.ts
Normal 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'])
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue