Disable mining charts iteration on mobile widgets
This commit is contained in:
		
							parent
							
								
									bc13393778
								
							
						
					
					
						commit
						05342079b3
					
				| @ -142,6 +142,7 @@ export class HashrateChartComponent implements OnInit { | ||||
|         bottom: this.widget ? 30 : 60, | ||||
|       }, | ||||
|       tooltip: { | ||||
|         show: !this.isMobile() || !this.widget, | ||||
|         trigger: 'axis', | ||||
|         axisPointer: { | ||||
|           type: 'line' | ||||
|  | ||||
| @ -132,6 +132,7 @@ export class HashrateChartPoolsComponent implements OnInit { | ||||
|         top: this.widget ? 10 : 40, | ||||
|       }, | ||||
|       tooltip: { | ||||
|         show: !this.isMobile() || !this.widget, | ||||
|         trigger: 'axis', | ||||
|         axisPointer: { | ||||
|           type: 'line' | ||||
|  | ||||
| @ -139,6 +139,7 @@ export class PoolRankingComponent implements OnInit { | ||||
|           edgeDistance: edgeDistance, | ||||
|         }, | ||||
|         tooltip: { | ||||
|           show: !this.isMobile() || !this.widget, | ||||
|           backgroundColor: 'rgba(17, 19, 31, 1)', | ||||
|           borderRadius: 4, | ||||
|           shadowColor: 'rgba(0, 0, 0, 0.5)', | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user