Open miraks31 opened 5 years ago
Doesn't anyone have an answer?
You'll likely have to modify the treemap code to do this, as there are no click handlers built-in at the moment. Note that Plotly.js now supports treemaps so you might be able to add a treemap renderer to the Plotly renderers instead and use your existing solution for Plotly :)
Hi,
First, thank you for pivottable.js, this is a great library. I successfully enable drilldown on "table" (with clickCallback), on "subtotal" tables (with eventHandlers.click) and on "plotly graphs" (with plotly_click).
Now, I just need to add drilldown on "D3 treemap" but I don't know how to do. How can I catch an event when an area of the teemap is clicked?
Thank you in advance. Regards.