Merge pull request #1257 from nymkappa/feature/pool-pie-chart-colors

Change pool ranking pie chart colors
This commit is contained in:
wiz 2022-02-17 09:07:28 +00:00 committed by GitHub
commit 4a86699199
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
};
}