Disable mouseover legend for mobile users.
This commit is contained in:
parent
47ae306a75
commit
ab27ea28f0
@ -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) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user