Mouse scroll is not capture anymore by graphs in the dashboard page

This commit is contained in:
nymkappa 2022-01-11 12:16:09 +09:00
parent 0f8deb0642
commit 7c48a3964b
2 changed files with 4 additions and 0 deletions

View File

@ -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,
}, {

View File

@ -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,
}, {