From 1ec45d3dd5ac5f9bfe9938a087dbebb3d49e7b6b Mon Sep 17 00:00:00 2001 From: Jacco van den Berg Date: Fri, 16 Aug 2024 09:35:50 +0200 Subject: [PATCH] Disable fix --- src/plugins/plugin.tooltip.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/plugin.tooltip.js b/src/plugins/plugin.tooltip.js index b39681ce2ca..a061aacfc76 100644 --- a/src/plugins/plugin.tooltip.js +++ b/src/plugins/plugin.tooltip.js @@ -38,10 +38,10 @@ const positioners = { } } - // No visible items where found, return false so we don't have to divide by 0 which reduces in NaN - if (count === 0 || xSet.size === 0) { - return false; - } + // // No visible items where found, return false so we don't have to divide by 0 which reduces in NaN + // if (count === 0 || xSet.size === 0) { + // return false; + // } const xAverage = [...xSet].reduce((a, b) => a + b) / xSet.size;