react-plotly.js icon indicating copy to clipboard operation
react-plotly.js copied to clipboard

Trigger click on treemap tile

Open MaxOrelus opened this issue 4 years ago • 0 comments

https://plotly.com/javascript/treemaps/

I have a treemap that has nested leaves.

  • root > category > protocol

When the treemap initializes, it starts by showing all the categories at the root, but I have a dropdown selector component outside of the chart that I want to be able to select a category through and it will have the ability to update the chart to simulate what would essentially be a mouse click on the category tile, which would zoom into that specific category and it's nested protocols?

Is there a simple way to indicate to plotly to pan to that category based on the category selected from a separate component?

MaxOrelus avatar Oct 08 '21 13:10 MaxOrelus