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
Is your feature request related to a problem? Please describe.
I am doing a treechart that works good but is require that use an especific images as background and not the colors that is provided. I tried to update the nodeComponent but if I touch that one, it break all the logics and features from the treeMap. Is a way to add the Images?
Describe the solution you'd like
Get the img as background
@nico-limo, I don't really plan to add this feature by default atm, but that's something you can do by overriding the default node component, you need to replicate what's implemented in the default component, please have a look at https://github.com/plouc/nivo/blob/master/packages/treemap/src/TreeMapHtmlNode.tsx. Also, I'd recommend to define your custom components outside your render function.
Is your feature request related to a problem? Please describe.
I am doing a treechart that works good but is require that use an especific images as background and not the colors that is provided. I tried to update the nodeComponent but if I touch that one, it break all the logics and features from the treeMap. Is a way to add the Images?
Describe the solution you'd like
Get the img as background
Additional context
Here is some code I have
The text was updated successfully, but these errors were encountered: