We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0919988 commit 5124e45Copy full SHA for 5124e45
src/components/fx/hover.js
@@ -1126,7 +1126,7 @@ function createHoverText(hoverData, opts) {
1126
container.selectAll('g.hovertext').remove();
1127
var groupedHoverData = hoverData.filter(function(data) {return data.hoverinfo !== 'none';});
1128
// Return early if nothing is hovered on
1129
- if(groupedHoverData.length === 0) return;
+ if(groupedHoverData.length === 0) return [];
1130
1131
// mock legend
1132
var hoverlabel = fullLayout.hoverlabel;
0 commit comments