Merge pull request #10 from Pear-Trading/TBSliver/Widget-Graph-Improvements
Refactored large graph
This commit is contained in:
commit
5279dfae10
8 changed files with 190 additions and 226 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue