You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If i click any pie other that the biggest one ( first ) no there is no any trace info in event data. neither in points[0], nor in event.trace. Actually, there is "event.points.trace = undefined".
console.log(e) gives only:
Note that pie event data changed a fair amount with #2117 - should all be for the better but if anyone was using all the various internal-use coordinates that were being reported previously you will have to find another way to retrieve them 🙈
Activity
etpinard commentedon Mar 9, 2017
Right. Sounds like an easy PR to make.
@andrey-zakharov want to give it a shot? Adding a ref to trace in
evt
here should be good enough.pie: test issue plotly#1456
pie: Fix undefined trace in 'plotly_click'
pie: test issue plotly#1456
pie: Fix undefined trace in 'plotly_click'
plotly_click
,plotly_hover
andplotly_unhover
#1505blokhin commentedon Aug 28, 2017
Unfortunately, still an issue with the latest (v1.30.0)
etpinard commentedon Aug 28, 2017
Works for me: https://codepen.io/etpinard/pen/prxrbg?editors=0010
blokhin commentedon Aug 28, 2017
Chrome 60.0.3112, FF 54.0.1: click at green or orange area in your pen yields undefined in console (blue area is OK).
etpinard commentedon Aug 28, 2017
thanks @blokhin , reopened.
blokhin commentedon Oct 9, 2017
Any chance the bugfix will be included in the next release?
alexcjohnson commentedon Oct 24, 2017
Pie event data is currently very different from most other plotly event data. I'm going to clean this up as part of #2073.
alexcjohnson commentedon Oct 26, 2017
Note that pie event data changed a fair amount with #2117 - should all be for the better but if anyone was using all the various internal-use coordinates that were being reported previously you will have to find another way to retrieve them 🙈