Skip to content

Commit

Permalink
Disable fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacco van den Berg committed Aug 16, 2024
1 parent 49b5722 commit 1ec45d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/plugins/plugin.tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 1ec45d3

Please sign in to comment.