Skip to content

Commit 0f3a126

Browse files
author
Andrey Zakharov
committed
Fixed pie click undefined trace data
1 parent 9f73cfd commit 0f3a126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/pie/plot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ module.exports = function plot(gd, cdpie) {
137137
}
138138

139139
function handleClick() {
140+
pt.trace = trace;
140141
gd._hoverdata = [pt];
141-
gd._hoverdata.trace = cd.trace;
142142
Fx.click(gd, { target: true });
143143
}
144144

0 commit comments

Comments
 (0)