Move large graph into graph-panel component and show real data

This commit is contained in:
Tom Bloor 2017-09-08 13:09:23 +01:00
parent cd77e14178
commit 732526322f
7 changed files with 188 additions and 192 deletions

View file

@ -7,7 +7,8 @@ export class OrgGraphsService {
constructor(private api: ApiService) { }
public getGraph(name: string) {
return this.api.post(this.orgGraphUrl, { graph: name });
public getGraph(name: string, data: any = {}) {
data.graph = name;
return this.api.post(this.orgGraphUrl, data);
}
}