Disable mouseover legend for mobile users.

This commit is contained in:
Miguel Medeiros 2021-09-16 17:30:13 -03:00
parent 47ae306a75
commit ab27ea28f0
No known key found for this signature in database
GPG Key ID: 819EDEE4673F3EBB

View File

@ -142,7 +142,7 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
},
color: chartColors,
tooltip: {
show: true,
show: (window.innerWidth >= 768) ? true : false,
trigger: 'axis',
alwaysShowContent: false,
position: (pos, params, el, elRect, size) => {