Fix the focus effect on the mempool graph.
This commit is contained in:
		
							parent
							
								
									d763c30f6a
								
							
						
					
					
						commit
						9e0f9840aa
					
				| @ -120,21 +120,15 @@ export class MempoolGraphComponent implements OnInit, OnChanges { | |||||||
|           }, |           }, | ||||||
|           symbolSize: (this.template === 'advanced') ? 10 : 10, |           symbolSize: (this.template === 'advanced') ? 10 : 10, | ||||||
|           showSymbol: false, |           showSymbol: false, | ||||||
|           areaStyle: { |  | ||||||
|             opacity: 1, |  | ||||||
|             color: chartColors[index], |  | ||||||
|           }, |  | ||||||
|           emphasis: { |           emphasis: { | ||||||
|             focus: 'series', |             focus: 'none', | ||||||
|             areaStyle: { |             areaStyle: { | ||||||
|               opacity: 1, |               opacity: 0.85, | ||||||
|             }, |  | ||||||
|             itemStyle: { |  | ||||||
|               opacity: 0.2, |  | ||||||
|             }, |             }, | ||||||
|           }, |           }, | ||||||
|           itemStyle: { |           areaStyle: { | ||||||
|             opacity: 0, |             color: chartColors[index], | ||||||
|  |             opacity: 1, | ||||||
|           }, |           }, | ||||||
|           data: this.vbytesPipe.transform(value, 2, 'vB', 'MvB', true) |           data: this.vbytesPipe.transform(value, 2, 'vB', 'MvB', true) | ||||||
|         }; |         }; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user