Open shradha0810 opened 1 year ago
const myChart = Sunburst()
.onClick(d => {
myChart.focusOnNode(d);
})
Thank you so much it works. Can you also tell me why my tooltip is not working. Like in inspect i can see the tags but they don't come on hovering over it
Hard to say without a repro example. Could you make one on codesandbox?
i saw your previous issues and tried the below code for enabling focusOnNode in onclick function but is shows error shown in second screenshot this is the error. The same error comes even if I pass the first argument 'd' instead of 'node'
can you see to it and give possible solution for it