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 1b19cb7..9662ad2 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 @@ -252,6 +252,9 @@ export class GraphDetailComponent implements OnInit { 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.title = 'Total Difficulty'; }); diff --git a/src/app/view/home/graph-list/graph-list.component.ts b/src/app/view/home/graph-list/graph-list.component.ts index 25e6855..149c0e3 100644 --- a/src/app/view/home/graph-list/graph-list.component.ts +++ b/src/app/view/home/graph-list/graph-list.component.ts @@ -1339,7 +1339,7 @@ export class GraphListComponent implements OnInit { fixedrange: true, // showgrid: true, range: range3, - overlaying: 'y', + // overlaying: 'y', rangemode: 'nonnegative', side: 'right', position: 1.25 diff --git a/src/assets/css/responsive.css b/src/assets/css/responsive.css index 1de8d5d..1ed35e2 100644 --- a/src/assets/css/responsive.css +++ b/src/assets/css/responsive.css @@ -72,6 +72,8 @@ .ngx-pagination li.pagination-previous{display: inline-block;} .ngx-pagination li.pagination-next{display: inline-block;} .hashdata_table td{border: 1px solid #a6a6a6;} + .body_bg.py-4{padding-top: 0px !important} + .block_details.mb-5{margin-bottom: 0px !important} } @media(max-width: 575px){