From dde1cecb989722bc833da8808261cda9f1ea60da Mon Sep 17 00:00:00 2001 From: root Date: Thu, 12 Sep 2019 14:44:28 +0200 Subject: [PATCH 1/4] Mobile response fix --- src/assets/css/responsive.css | 2 ++ 1 file changed, 2 insertions(+) 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){ From 931eca82cfbc2919b946babaac84b90bcbac6a08 Mon Sep 17 00:00:00 2001 From: shunmugam Date: Thu, 12 Sep 2019 18:50:56 +0530 Subject: [PATCH 2/4] test graph overlap --- src/app/view/home/graph-list/graph-list.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 4c6e502..ae695ef 100644 --- a/src/app/view/home/graph-list/graph-list.component.ts +++ b/src/app/view/home/graph-list/graph-list.component.ts @@ -1339,8 +1339,9 @@ export class GraphListComponent implements OnInit { fixedrange: true, // showgrid: true, range: range3, - overlaying: 'y', + // overlaying: 'y', rangemode: 'nonnegative', + automargin: true, side: 'left', position: 1.25 }, From bfe5bd438e9eead90cb92ab5e1b63933387fbfee Mon Sep 17 00:00:00 2001 From: shunmugam Date: Thu, 12 Sep 2019 18:59:25 +0530 Subject: [PATCH 3/4] test commit --- .../view/graph-view/graph-detail/graph-detail.component.ts | 3 +++ src/app/view/home/graph-list/graph-list.component.ts | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 88ca5a6..ce3ab57 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 149c0e3..cd54846 100644 --- a/src/app/view/home/graph-list/graph-list.component.ts +++ b/src/app/view/home/graph-list/graph-list.component.ts @@ -1331,6 +1331,7 @@ export class GraphListComponent implements OnInit { title: 'Cuckoo', fixedrange: true, rangemode: 'nonnegative', + automargin: true, // showgrid: true, range: range1, }, @@ -1339,14 +1340,16 @@ export class GraphListComponent implements OnInit { fixedrange: true, // showgrid: true, range: range3, + automargin: true, // overlaying: 'y', rangemode: 'nonnegative', side: 'right', - position: 1.25 + // position: 1.25 }, yaxis3: { title: 'RandomX', fixedrange: true, + automargin: true, // showgrid: true, range: range2, rangemode: 'nonnegative', From bfee98ad618b9c1a3792cdfb32c1a1c667d5de8d Mon Sep 17 00:00:00 2001 From: shunmugam Date: Thu, 12 Sep 2019 19:02:41 +0530 Subject: [PATCH 4/4] test commit --- src/app/view/home/graph-list/graph-list.component.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 cd54846..149c0e3 100644 --- a/src/app/view/home/graph-list/graph-list.component.ts +++ b/src/app/view/home/graph-list/graph-list.component.ts @@ -1331,7 +1331,6 @@ export class GraphListComponent implements OnInit { title: 'Cuckoo', fixedrange: true, rangemode: 'nonnegative', - automargin: true, // showgrid: true, range: range1, }, @@ -1340,16 +1339,14 @@ export class GraphListComponent implements OnInit { fixedrange: true, // showgrid: true, range: range3, - automargin: true, // overlaying: 'y', rangemode: 'nonnegative', side: 'right', - // position: 1.25 + position: 1.25 }, yaxis3: { title: 'RandomX', fixedrange: true, - automargin: true, // showgrid: true, range: range2, rangemode: 'nonnegative',