Remove hardcoded mining pools colors as it's not relevant
This commit is contained in:
		
							parent
							
								
									b2621e7c27
								
							
						
					
					
						commit
						e2eccf6e85
					
				@ -72,22 +72,10 @@ export const chartColors = [
 | 
				
			|||||||
];
 | 
					];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export const poolsColor = {
 | 
					export const poolsColor = {
 | 
				
			||||||
   'foundryusa': '#D81B60',
 | 
					  'unknown': '#9C9C9C',
 | 
				
			||||||
   'antpool': '#8E24AA',
 | 
					};
 | 
				
			||||||
   'f2pool': '#5E35B1',
 | 
					 | 
				
			||||||
   'poolin': '#3949AB',
 | 
					 | 
				
			||||||
   'binancepool': '#1E88E5',
 | 
					 | 
				
			||||||
   'viabtc': '#039BE5',
 | 
					 | 
				
			||||||
   'btccom': '#00897B',
 | 
					 | 
				
			||||||
   'braiinspool': '#00ACC1',
 | 
					 | 
				
			||||||
   'sbicrypto': '#43A047',
 | 
					 | 
				
			||||||
   'marapool': '#7CB342',
 | 
					 | 
				
			||||||
   'luxor': '#C0CA33',
 | 
					 | 
				
			||||||
   'unknown': '#FDD835',
 | 
					 | 
				
			||||||
   'okkong': '#FFB300',
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
 export const feeLevels = [1, 2, 3, 4, 5, 6, 8, 10, 12, 15, 20, 30, 40, 50, 60, 70, 80, 90, 100, 125, 150, 175, 200,
 | 
					export const feeLevels = [1, 2, 3, 4, 5, 6, 8, 10, 12, 15, 20, 30, 40, 50, 60, 70, 80, 90, 100, 125, 150, 175, 200,
 | 
				
			||||||
  250, 300, 350, 400, 500, 600, 700, 800, 900, 1000, 1200, 1400, 1600, 1800, 2000];
 | 
					  250, 300, 350, 400, 500, 600, 700, 800, 900, 1000, 1200, 1400, 1600, 1800, 2000];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export interface Language {
 | 
					export interface Language {
 | 
				
			||||||
 | 
				
			|||||||
@ -176,7 +176,7 @@ export class PoolRankingComponent implements OnInit {
 | 
				
			|||||||
    // 'Other'
 | 
					    // 'Other'
 | 
				
			||||||
    data.push({
 | 
					    data.push({
 | 
				
			||||||
      itemStyle: {
 | 
					      itemStyle: {
 | 
				
			||||||
        color: 'grey',
 | 
					        color: '#6b6b6b',
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      value: totalShareOther,
 | 
					      value: totalShareOther,
 | 
				
			||||||
      name: 'Other' + (isMobile() ? `` : ` (${totalShareOther.toFixed(2)}%)`),
 | 
					      name: 'Other' + (isMobile() ? `` : ` (${totalShareOther.toFixed(2)}%)`),
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user