total difficulty graph issue

This commit is contained in:
shunmugam 2019-09-13 16:42:12 +05:30
parent 9c49f4db4b
commit 22ae64bf96

View File

@ -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;