From c131c865ee577b28396fecc3b998d7f695f4c848 Mon Sep 17 00:00:00 2001 From: nymkappa Date: Thu, 17 Feb 2022 17:52:12 +0900 Subject: [PATCH] Change pool ranking pie chart colors --- .../components/pool-ranking/pool-ranking.component.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/frontend/src/app/components/pool-ranking/pool-ranking.component.ts b/frontend/src/app/components/pool-ranking/pool-ranking.component.ts index fc5a8da60..17ea83b71 100644 --- a/frontend/src/app/components/pool-ranking/pool-ranking.component.ts +++ b/frontend/src/app/components/pool-ranking/pool-ranking.component.ts @@ -9,6 +9,7 @@ import { SeoService } from 'src/app/services/seo.service'; import { StorageService } from '../..//services/storage.service'; import { MiningService, MiningStats } from '../../services/mining.service'; import { StateService } from '../../services/state.service'; +import { chartColors } from 'src/app/app.constants'; @Component({ selector: 'app-pool-ranking', @@ -181,11 +182,8 @@ export class PoolRankingComponent implements OnInit { }, emphasis: { itemStyle: { - borderWidth: 2, - borderColor: '#FFF', - borderRadius: 2, - shadowBlur: 80, - shadowColor: 'rgba(255, 255, 255, 0.75)', + shadowBlur: 40, + shadowColor: 'rgba(0, 0, 0, 0.75)', }, labelLine: { lineStyle: { @@ -194,7 +192,8 @@ export class PoolRankingComponent implements OnInit { } } } - ] + ], + color: chartColors }; }