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 d809e85dde
commit 02798db449
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04
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,
}, {