total difficulty graph issue
This commit is contained in:
parent
9c49f4db4b
commit
22ae64bf96
@ -250,12 +250,12 @@ export class GraphDetailComponent implements OnInit {
|
|||||||
case 'total-difficulty':
|
case 'total-difficulty':
|
||||||
this.comp.Difficultyreq('total',p1, p2, p3, p4).then(res => {
|
this.comp.Difficultyreq('total',p1, p2, p3, p4).then(res => {
|
||||||
this.hashdata = this.comp.linearTotalGraphData;
|
this.hashdata = this.comp.linearTotalGraphData;
|
||||||
this.hashdata.layout.height = 300;
|
// this.hashdata.layout.height = 300;
|
||||||
this.hashdata.layout.xaxis.domain = [0.1,0.9];
|
// this.hashdata.layout.xaxis.domain = [0.1,0.9];
|
||||||
this.hashdata.layout.yaxis.automargin= true;
|
// this.hashdata.layout.yaxis.automargin= true;
|
||||||
this.hashdata.layout.yaxis1.automargin= true;
|
// this.hashdata.layout.yaxis1.automargin= true;
|
||||||
this.hashdata.layout.yaxis2.automargin= true;
|
// this.hashdata.layout.yaxis2.automargin= true;
|
||||||
this.hashdata.layout.yaxis2.position = 2.25;
|
// this.hashdata.layout.yaxis2.position = 2.25;
|
||||||
this.title = 'Total Difficulty';
|
this.title = 'Total Difficulty';
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user