working graph widgets and local doughnut chart

This commit is contained in:
piratefinn 2017-12-14 16:44:23 +00:00
parent 846c21f967
commit df9ea2436c
7 changed files with 194 additions and 70 deletions

View file

@ -0,0 +1,14 @@
import { Injectable } from '@angular/core';
import { ApiService } from './api-service';
import { Observable } from 'rxjs/Rx';
@Injectable()
export class CustPiesService {
private custPieUrl = '/v1/customer/pies';
constructor(private api: ApiService) { }
public getPie(): Observable<any> {
return this.api.post(this.custPieUrl);
}
}