Skip to content

Commit b512566

Browse files
committed
Add call to fx.hover onhover
1 parent 8273bea commit b512566

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/traces/pie/plot.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ module.exports = function plot(gd, cdpie) {
8282
slicePath = sliceTop.selectAll('path.surface').data([pt]),
8383
hasHoverData = false;
8484

85-
function handleMouseOver() {
85+
function handleMouseOver(evt) {
8686
// in case fullLayout or fullData has changed without a replot
8787
var fullLayout2 = gd._fullLayout,
8888
trace2 = gd._fullData[trace.index],
@@ -123,6 +123,8 @@ module.exports = function plot(gd, cdpie) {
123123
}
124124
);
125125

126+
Plotly.Fx.hover(gd, evt, 'pie');
127+
126128
hasHoverData = true;
127129
}
128130

0 commit comments

Comments
 (0)