-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tooltip is not showing #111
Comments
Hi, were you able to resolve this, i am facing the same issue ? @vasturiano do you have any idea what i am missing, this is my code :
|
No i couldnt resolve this, tooltip is coming but somehow getting hidden.... or getting beneath the graph itself. not sure how to solve it |
hmm, i could see the div element in the dom for toopltip, but does not shows up |
Do you observe the same issue in the built-in example? https://vasturiano.github.io/sunburst-chart/example/flare/ If not, could you make a simple reproducible example on https://codesandbox.io/ so that we can have a closer look? |
Ok so i figured out the problem, when i tried replicating the issue in sandbox, i did not come across the issue. the problem in my case was the
Thanks for the idea @vasturiano |
Tooltip is not showing
Using you current version of sunburst chart and i do not know why the tooltip on hover chart is not showing. i used the following code. please let me know how can i fix this...
let chart = Sunburst();
chart
.data(data)
.width(740)
.height(740)
.color((d) => d.color)
.showTooltip(() => true)
.tooltipContent((d) =>
Notes: <i>${d.name} </i>
).excludeRoot(true)(document.getElementById("chart-sunburst"+chartFor));
i am using the sample data and added color to it
The text was updated successfully, but these errors were encountered: