diff --git a/frontend/src/app/components/hashrate-chart/hashrate-chart.component.html b/frontend/src/app/components/hashrate-chart/hashrate-chart.component.html
index 79d7a9f1b..25b1db98d 100644
--- a/frontend/src/app/components/hashrate-chart/hashrate-chart.component.html
+++ b/frontend/src/app/components/hashrate-chart/hashrate-chart.component.html
@@ -27,7 +27,7 @@
+
@@ -48,6 +48,14 @@
= 0 ? 'color: #42B747' : 'color: #B74242'">{{ formatNumber(diffChange.change, locale, '1.2-2') }}% |
+
+
+ |
+ |
+ |
+ |
+
+
diff --git a/frontend/src/app/components/hashrate-chart/hashrate-chart.component.ts b/frontend/src/app/components/hashrate-chart/hashrate-chart.component.ts
index 948ffed41..582dee263 100644
--- a/frontend/src/app/components/hashrate-chart/hashrate-chart.component.ts
+++ b/frontend/src/app/components/hashrate-chart/hashrate-chart.component.ts
@@ -125,7 +125,21 @@ export class HashrateChartComponent implements OnInit {
}
prepareChartOptions(data) {
+ let title = undefined;
+ if (data.hashrates.length === 0) {
+ title = {
+ textStyle: {
+ color: "grey",
+ fontSize: 15
+ },
+ text: "Indexing in progress...",
+ left: "center",
+ top: "center"
+ };
+ }
+
this.chartOptions = {
+ title: title,
color: [
new graphic.LinearGradient(0, 0, 0, 0.65, [
{ offset: 0, color: '#F4511E' },
diff --git a/frontend/src/app/components/hashrates-chart-pools/hashrate-chart-pools.component.ts b/frontend/src/app/components/hashrates-chart-pools/hashrate-chart-pools.component.ts
index 7e3f081a6..016f7a319 100644
--- a/frontend/src/app/components/hashrates-chart-pools/hashrate-chart-pools.component.ts
+++ b/frontend/src/app/components/hashrates-chart-pools/hashrate-chart-pools.component.ts
@@ -124,7 +124,21 @@ export class HashrateChartPoolsComponent implements OnInit {
}
prepareChartOptions(data) {
+ let title = undefined;
+ if (data.series.length === 0) {
+ title = {
+ textStyle: {
+ color: "grey",
+ fontSize: 15
+ },
+ text: "Indexing in progress...",
+ left: "center",
+ top: this.widget ? 115 : this.isMobile() ? 'center' : 225,
+ };
+ }
+
this.chartOptions = {
+ title: title,
grid: {
right: this.right,
left: this.left,