Disable mouseover legend for mobile users.

This commit is contained in:
Miguel Medeiros committed 2021-09-16 17:30:13 -03:00
1 parent f2500155c3
commit ad76ef2d6e
1 file changed
+1 -1
@@ -142,7 +142,7 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
}, },
color: chartColors, color: chartColors,
tooltip: { tooltip: {
show: true, show: (window.innerWidth >= 768) ? true : false,
trigger: 'axis', trigger: 'axis',
alwaysShowContent: false, alwaysShowContent: false,
position: (pos, params, el, elRect, size) => { position: (pos, params, el, elRect, size) => {