geomon.viewer/src/app/services/app-router.service.ts
Arno Kaimbacher 5f657dc9e4 - remove d3.js and add chart.js
- add extra chartjs.module
- add extra diagram-view component for binding properties to chartjs chart
2021-09-23 15:12:22 +02:00

19 lines
318 B
TypeScript

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'])
}
}