diff --git a/src/app/view/graph-view/graph-detail/graph-detail.component.ts b/src/app/view/graph-view/graph-detail/graph-detail.component.ts index 9662ad2..10a82ba 100644 --- a/src/app/view/graph-view/graph-detail/graph-detail.component.ts +++ b/src/app/view/graph-view/graph-detail/graph-detail.component.ts @@ -250,12 +250,12 @@ export class GraphDetailComponent implements OnInit { case 'total-difficulty': this.comp.Difficultyreq('total',p1, p2, p3, p4).then(res => { this.hashdata = this.comp.linearTotalGraphData; - this.hashdata.layout.height = 300; - this.hashdata.layout.xaxis.domain = [0.1,0.9]; - this.hashdata.layout.yaxis.automargin= true; - this.hashdata.layout.yaxis1.automargin= true; - this.hashdata.layout.yaxis2.automargin= true; - this.hashdata.layout.yaxis2.position = 2.25; + // this.hashdata.layout.height = 300; + // this.hashdata.layout.xaxis.domain = [0.1,0.9]; + // this.hashdata.layout.yaxis.automargin= true; + // this.hashdata.layout.yaxis1.automargin= true; + // this.hashdata.layout.yaxis2.automargin= true; + // this.hashdata.layout.yaxis2.position = 2.25; this.title = 'Total Difficulty'; }); break;