Mouse scroll is not capture anymore by graphs in the dashboard page
This commit is contained in:
		
							parent
							
								
									d809e85dde
								
							
						
					
					
						commit
						02798db449
					
				@ -70,7 +70,9 @@ export class IncomingTransactionsGraphComponent implements OnInit, OnChanges {
 | 
				
			|||||||
      dataZoom: [{
 | 
					      dataZoom: [{
 | 
				
			||||||
        type: 'inside',
 | 
					        type: 'inside',
 | 
				
			||||||
        realtime: true,
 | 
					        realtime: true,
 | 
				
			||||||
 | 
					        zoomLock: (this.template === 'widget') ? true : false,
 | 
				
			||||||
        zoomOnMouseWheel: (this.template === 'advanced') ? true : false,
 | 
					        zoomOnMouseWheel: (this.template === 'advanced') ? true : false,
 | 
				
			||||||
 | 
					        moveOnMouseMove: (this.template === 'widget') ? true : false,
 | 
				
			||||||
        maxSpan: 100,
 | 
					        maxSpan: 100,
 | 
				
			||||||
        minSpan: 10,
 | 
					        minSpan: 10,
 | 
				
			||||||
      }, {
 | 
					      }, {
 | 
				
			||||||
 | 
				
			|||||||
@ -285,7 +285,9 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
 | 
				
			|||||||
      dataZoom: [{
 | 
					      dataZoom: [{
 | 
				
			||||||
        type: 'inside',
 | 
					        type: 'inside',
 | 
				
			||||||
        realtime: true,
 | 
					        realtime: true,
 | 
				
			||||||
 | 
					        zoomLock: (this.template === 'widget') ? true : false,
 | 
				
			||||||
        zoomOnMouseWheel: (this.template === 'advanced') ? true : false,
 | 
					        zoomOnMouseWheel: (this.template === 'advanced') ? true : false,
 | 
				
			||||||
 | 
					        moveOnMouseMove: (this.template === 'widget') ? true : false,
 | 
				
			||||||
        maxSpan: 100,
 | 
					        maxSpan: 100,
 | 
				
			||||||
        minSpan: 10,
 | 
					        minSpan: 10,
 | 
				
			||||||
      }, {
 | 
					      }, {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user