From 9c49f4db4b03ce849f471d2755f1c3c4630dbd4d Mon Sep 17 00:00:00 2001 From: shunmugam Date: Fri, 13 Sep 2019 16:09:31 +0530 Subject: [PATCH] total difficulty graph overlap and fee graph fixes --- .../home/graph-list/graph-list.component.html | 2 +- .../home/graph-list/graph-list.component.ts | 35 +++++++++++++------ 2 files changed, 26 insertions(+), 11 deletions(-) diff --git a/src/app/view/home/graph-list/graph-list.component.html b/src/app/view/home/graph-list/graph-list.component.html index 327a793..04b3843 100644 --- a/src/app/view/home/graph-list/graph-list.component.html +++ b/src/app/view/home/graph-list/graph-list.component.html @@ -215,7 +215,7 @@

{{'home.TRANSACTION_FEES' | translate}}

- {{this.fg_last |number}} +
700) + { + position = 0.10; + angle = 0; + } + else + { + position = 0.00; + angle = -45; + } this.linearTotalGraphData = { data: data, layout: { @@ -1328,10 +1341,10 @@ export class GraphListComponent implements OnInit { legend: {"orientation": "h", x: 0.1, y: -0.5,font :{ 'size': 10}}, xaxis: { - tickangle: -45, + tickangle: -40, tickformat: tickformat, fixedrange: true, - domain: [0.2, 0.8] + domain: [0.22, 0.9] // showgrid: true }, yaxis: { @@ -1340,9 +1353,9 @@ export class GraphListComponent implements OnInit { rangemode: 'nonnegative', // showgrid: true, range: range1, - tickangle: 'auto', + tickangle: angle, tickfont: { - size: 14 + size: 12 } }, yaxis2: { @@ -1351,12 +1364,13 @@ export class GraphListComponent implements OnInit { // showgrid: true, range: range3, // overlaying: 'y', + overlaying: 'y', rangemode: 'nonnegative', - side: 'right', - position: 1.25, - tickangle: 'auto', + // side: 'right', + position: position , + tickangle: angle, tickfont: { - size: 14 + size: 12 } }, yaxis3: { @@ -1368,9 +1382,10 @@ export class GraphListComponent implements OnInit { anchor: 'x', overlaying: 'y', side: 'right', - tickangle: 'auto', + position: 0.00 , + tickangle: angle, tickfont: { - size: 14 + size: 12 } },