Merge pull request #1118 from nymkappa/bugfix/graph-scroll-main-page
Mouse scroll is not captured anymore by graphs in the dashboard page
This commit is contained in:
		
						commit
						4b308a0243
					
				@ -70,7 +70,9 @@ export class IncomingTransactionsGraphComponent implements OnInit, OnChanges {
 | 
			
		||||
      dataZoom: [{
 | 
			
		||||
        type: 'inside',
 | 
			
		||||
        realtime: true,
 | 
			
		||||
        zoomLock: (this.template === 'widget') ? true : false,
 | 
			
		||||
        zoomOnMouseWheel: (this.template === 'advanced') ? true : false,
 | 
			
		||||
        moveOnMouseMove: (this.template === 'widget') ? true : false,
 | 
			
		||||
        maxSpan: 100,
 | 
			
		||||
        minSpan: 10,
 | 
			
		||||
      }, {
 | 
			
		||||
 | 
			
		||||
@ -285,7 +285,9 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
 | 
			
		||||
      dataZoom: [{
 | 
			
		||||
        type: 'inside',
 | 
			
		||||
        realtime: true,
 | 
			
		||||
        zoomLock: (this.template === 'widget') ? true : false,
 | 
			
		||||
        zoomOnMouseWheel: (this.template === 'advanced') ? true : false,
 | 
			
		||||
        moveOnMouseMove: (this.template === 'widget') ? true : false,
 | 
			
		||||
        maxSpan: 100,
 | 
			
		||||
        minSpan: 10,
 | 
			
		||||
      }, {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user