Customdata for pie chart is undefined

Hello,

I would like to use customdata attribute for pie chart to display more detailed data on hover. The problem is that even if custom data is set correctly, on hover event it is undefined.

Please look at the codepens

  1. Correct behaviour, line chart
    https://codepen.io/etpinard/pen/YxOKpq?editors=0011

  2. Incorrect, pie chart
    https://codepen.io/anon/pen/OxjXWP?editors=0011

Maybe I am doing something wrong,but the api reference clearly says that custom data should be available as well for the pie plot

Thanks and greetings,
J

Thanks for the report.

You can subscribe to https://github.com/plotly/plotly.js/issues/2048 for the latest development info.