Overlap issue fixed in explorer As per Micheal suggestion 26 Sept

This commit is contained in:
shunmugam 2019-09-26 12:54:50 +05:30
parent a5f974d743
commit a2d33f3ca3

View File

@ -621,12 +621,14 @@ export class GraphListComponent implements OnInit {
let angle = 0; let angle = 0;
let domain_start = 0; let domain_start = 0;
let left_margin = 5; let left_margin = 5;
let cuckoo_position=null;
if(window_width > 700) if(window_width > 700)
{ {
position = 0.10; position = 0.10;
angle = 0; angle = 0;
domain_start = 0.18; domain_start = 0.18;
left_margin = 5; left_margin = 5;
cuckoo_position = null;
} }
else else
{ {
@ -634,6 +636,7 @@ export class GraphListComponent implements OnInit {
angle = -45; angle = -45;
domain_start = 0.23; domain_start = 0.23;
left_margin = 25; left_margin = 25;
cuckoo_position= 0.20;
} }
// console.log('range rangerangerange',range); // console.log('range rangerangerange',range);
@ -663,6 +666,8 @@ export class GraphListComponent implements OnInit {
rangemode: 'nonnegative', rangemode: 'nonnegative',
// showgrid: true, // showgrid: true,
range: range1, range: range1,
ticks:'outside',
// position:cuckoo_position,
tickangle: angle, tickangle: angle,
tickfont: { tickfont: {
size: 12 size: 12
@ -687,6 +692,7 @@ export class GraphListComponent implements OnInit {
fixedrange: true, fixedrange: true,
// showgrid: true, // showgrid: true,
range: range2, range: range2,
ticks:'outside',
anchor: 'x', anchor: 'x',
overlaying: 'y', overlaying: 'y',
rangemode: 'nonnegative', rangemode: 'nonnegative',
@ -700,7 +706,7 @@ export class GraphListComponent implements OnInit {
}, },
margin: { margin: {
l: left_margin, l: left_margin,
r: 5, r: 20,
b: 50, b: 50,
t: 50, t: 50,
}, },
@ -961,7 +967,7 @@ export class GraphListComponent implements OnInit {
fixedrange: true, fixedrange: true,
showgrid: true, showgrid: true,
tickfont: { tickfont: {
size: 13 size: 11
} }
}, },
yaxis: { yaxis: {
@ -969,13 +975,16 @@ export class GraphListComponent implements OnInit {
rangemode: 'nonnegative', rangemode: 'nonnegative',
fixedrange: true, fixedrange: true,
// showgrid: true, // showgrid: true,
tickangle: -45, tickangle: -15,
ticks:'outside',
// dtick :0.02,
position:0.0001,
tickfont: { tickfont: {
size: 13 size: 11
} }
}, },
margin: { margin: {
l: 50, l: 60,
r: 10, r: 10,
b: 50, b: 50,
t: 50, t: 50,
@ -1021,6 +1030,7 @@ export class GraphListComponent implements OnInit {
yaxis: { yaxis: {
title: 'Total Reward Supply', title: 'Total Reward Supply',
rangemode: 'nonnegative', rangemode: 'nonnegative',
ticks:'outside',
fixedrange: true, fixedrange: true,
showgrid: true, showgrid: true,
range : range, range : range,
@ -1028,7 +1038,7 @@ export class GraphListComponent implements OnInit {
tickprefix: ' ' tickprefix: ' '
}, },
margin: { margin: {
l: 50, l: 60,
r: 10, r: 10,
b: 50, b: 50,
t: 50, t: 50,
@ -1291,12 +1301,13 @@ export class GraphListComponent implements OnInit {
yaxis: { yaxis: {
showline: false, showline: false,
title: 'Transactions', title: 'Transactions',
ticks:'outside',
rangemode: 'nonnegative', rangemode: 'nonnegative',
fixedrange: true, fixedrange: true,
showgrid: true, showgrid: true,
}, },
margin: { margin: {
l: 50, l: 60,
r: 10, r: 10,
b: 50, b: 50,
t: 50, t: 50,
@ -1406,6 +1417,7 @@ export class GraphListComponent implements OnInit {
rangemode: 'nonnegative', rangemode: 'nonnegative',
// position: 0.33, // position: 0.33,
range: range1, range: range1,
ticks:'outside',
tickangle: angle, tickangle: angle,
tickfont: { tickfont: {
size: 12 size: 12
@ -1431,6 +1443,7 @@ export class GraphListComponent implements OnInit {
fixedrange: true, fixedrange: true,
// showgrid: true, // showgrid: true,
range: range2, range: range2,
ticks:'outside',
rangemode: 'nonnegative', rangemode: 'nonnegative',
anchor: 'x', anchor: 'x',
overlaying: 'y', overlaying: 'y',