diff --git a/frontend/src/app/components/incoming-transactions-graph/incoming-transactions-graph.component.ts b/frontend/src/app/components/incoming-transactions-graph/incoming-transactions-graph.component.ts index 4f982a269..3ae3bde51 100644 --- a/frontend/src/app/components/incoming-transactions-graph/incoming-transactions-graph.component.ts +++ b/frontend/src/app/components/incoming-transactions-graph/incoming-transactions-graph.component.ts @@ -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, }, { diff --git a/frontend/src/app/components/mempool-graph/mempool-graph.component.ts b/frontend/src/app/components/mempool-graph/mempool-graph.component.ts index 6baa96596..11618e35d 100644 --- a/frontend/src/app/components/mempool-graph/mempool-graph.component.ts +++ b/frontend/src/app/components/mempool-graph/mempool-graph.component.ts @@ -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, }, {