From de117e30f2034a77a0c7b926824410b95e5f5dc0 Mon Sep 17 00:00:00 2001 From: nymkappa <1612910616@pm.me> Date: Tue, 21 Feb 2023 17:51:46 +0900 Subject: [PATCH] Use mempool chart color palette on hashrate history --- .../hashrates-chart-pools/hashrate-chart-pools.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ed3683e9b..df7780fee 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 @@ -5,7 +5,7 @@ import { delay, map, retryWhen, share, startWith, switchMap, tap } from 'rxjs/op import { ApiService } from '../../services/api.service'; import { SeoService } from '../../services/seo.service'; import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms'; -import { poolsColor } from '../../app.constants'; +import { chartColors, poolsColor } from '../../app.constants'; import { StorageService } from '../../services/storage.service'; import { MiningService } from '../../services/mining.service'; import { download } from '../../shared/graphs.utils'; @@ -173,6 +173,7 @@ export class HashrateChartPoolsComponent implements OnInit { this.chartOptions = { title: title, animation: false, + color: chartColors, grid: { right: this.right, left: this.left,