diff --git a/frontend/proxy.conf.js b/frontend/proxy.conf.js index 05f7550e06..2082189ba9 100644 --- a/frontend/proxy.conf.js +++ b/frontend/proxy.conf.js @@ -26,14 +26,14 @@ PROXY_CONFIG = [ '!/liquidtestnet', '!/liquidtestnet/**', '!/liquidtestnet/', '/testnet/api/**', '/signet/api/**', '/testnet4/api/**' ], - target: "https://mempool.space", + target: "https://mempool.guide", ws: true, secure: false, changeOrigin: true }, { context: ['/api/v1/ws'], - target: "https://mempool.space", + target: "https://mempool.guide", ws: true, secure: false, changeOrigin: true, @@ -57,7 +57,7 @@ PROXY_CONFIG = [ }, { context: ['/resources/mining-pools/**'], - target: "https://mempool.space", + target: "https://mempool.guide", secure: false, changeOrigin: true } @@ -75,7 +75,7 @@ if (configContent && configContent.BASE_MODULE == "liquid") { } else { PROXY_CONFIG.push({ context: ['/resources/assets.json', '/resources/assets.minimal.json', '/resources/worldmap.json'], - target: "https://mempool.space", + target: "https://mempool.guide", secure: false, changeOrigin: true, }); diff --git a/frontend/src/app/components/knots-nodes-chart/knots-nodes-chart.component.ts b/frontend/src/app/components/knots-nodes-chart/knots-nodes-chart.component.ts index fdf497bc1d..ea6bf993ee 100644 --- a/frontend/src/app/components/knots-nodes-chart/knots-nodes-chart.component.ts +++ b/frontend/src/app/components/knots-nodes-chart/knots-nodes-chart.component.ts @@ -190,13 +190,14 @@ export class KnotsNodesChartComponent implements OnInit { } this.chartOptions = { - animation: false, + animation: true, color: ['#1E88E5', '#8E24AA'], tooltip: { trigger: 'item', textStyle: { align: 'left', - } + }, + backgroundColor: 'rgba(17, 19, 31, 1)', }, series: [ { @@ -207,6 +208,7 @@ export class KnotsNodesChartComponent implements OnInit { radius: pieSize, data: pieData, labelLine: { + length2: 25, lineStyle: { width: 2, }, @@ -221,6 +223,8 @@ export class KnotsNodesChartComponent implements OnInit { borderColor: '#000', }, emphasis: { + scale: true, + scaleSize: 10, itemStyle: { shadowBlur: 40, shadowColor: 'rgba(0, 0, 0, 0.75)', diff --git a/frontend/src/app/components/ocean-hashrate-chart/ocean-hashrate-chart.component.ts b/frontend/src/app/components/ocean-hashrate-chart/ocean-hashrate-chart.component.ts index 44cf2f2329..a2e6c720a2 100644 --- a/frontend/src/app/components/ocean-hashrate-chart/ocean-hashrate-chart.component.ts +++ b/frontend/src/app/components/ocean-hashrate-chart/ocean-hashrate-chart.component.ts @@ -132,7 +132,7 @@ export class OceanHashrateChartComponent implements OnInit { tooltip: { trigger: 'item', textStyle: { - color: '#b1b1b1', + align: 'left', }, backgroundColor: 'rgba(17, 19, 31, 1)', borderRadius: 4, @@ -156,11 +156,10 @@ export class OceanHashrateChartComponent implements OnInit { label: { show: true, // Always show labels position: 'outside', - alignTo: 'edge', minMargin: 5, edgeDistance: edgeDistance, lineHeight: 15, - fontSize: this.widget ? 10 : 12, + fontSize: 14, fontWeight: 'normal', formatter: (data: any) => { const percentage = data.data?.percentage || data.percentage || 0; @@ -175,15 +174,11 @@ export class OceanHashrateChartComponent implements OnInit { } } }, - labelLine: { - show: true, // Always show label lines - length: this.widget ? 10 : 20, - length2: this.widget ? 3 : 5, - maxSurfaceAngle: 80, + labelLine: { + length2: 25, lineStyle: { - color: '#666666', - width: 1 - } + width: 2, + }, }, emphasis: { scale: true, @@ -192,6 +187,11 @@ export class OceanHashrateChartComponent implements OnInit { shadowBlur: 10, shadowOffsetX: 0, shadowColor: 'rgba(0, 0, 0, 0.5)' + }, + labelLine: { + lineStyle: { + width: 3, + } } }, itemStyle: { diff --git a/frontend/src/app/dashboard/dashboard.component.html b/frontend/src/app/dashboard/dashboard.component.html index 1a314a1d00..5ddb975c49 100644 --- a/frontend/src/app/dashboard/dashboard.component.html +++ b/frontend/src/app/dashboard/dashboard.component.html @@ -76,7 +76,7 @@
Bitcoin Knots Netwo -
+
BIP 110 Network Distribution