mirror of
https://github.com/mempool/mempool.git
synced 2024-12-28 17:24:25 +01:00
Change pool ranking pie chart colors
This commit is contained in:
parent
53ff599ccd
commit
c131c865ee
@ -9,6 +9,7 @@ import { SeoService } from 'src/app/services/seo.service';
|
|||||||
import { StorageService } from '../..//services/storage.service';
|
import { StorageService } from '../..//services/storage.service';
|
||||||
import { MiningService, MiningStats } from '../../services/mining.service';
|
import { MiningService, MiningStats } from '../../services/mining.service';
|
||||||
import { StateService } from '../../services/state.service';
|
import { StateService } from '../../services/state.service';
|
||||||
|
import { chartColors } from 'src/app/app.constants';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-pool-ranking',
|
selector: 'app-pool-ranking',
|
||||||
@ -181,11 +182,8 @@ export class PoolRankingComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
emphasis: {
|
emphasis: {
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
borderWidth: 2,
|
shadowBlur: 40,
|
||||||
borderColor: '#FFF',
|
shadowColor: 'rgba(0, 0, 0, 0.75)',
|
||||||
borderRadius: 2,
|
|
||||||
shadowBlur: 80,
|
|
||||||
shadowColor: 'rgba(255, 255, 255, 0.75)',
|
|
||||||
},
|
},
|
||||||
labelLine: {
|
labelLine: {
|
||||||
lineStyle: {
|
lineStyle: {
|
||||||
@ -194,7 +192,8 @@ export class PoolRankingComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
color: chartColors
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user