Skip to content
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

Sund2b tooltip customization #92

Closed
thulasirangan opened this issue Sep 25, 2019 · 5 comments
Closed

Sund2b tooltip customization #92

thulasirangan opened this issue Sep 25, 2019 · 5 comments

Comments

@thulasirangan
Copy link

Hi,
First of all many thanks for this package. I am currently using sund2b and I have a requirement to customize the tooltip.
Is there a way to show a different value in the tooltip and use something else for my size?
I see many properties listed here: http://docs.d2bjs.org/chartsAdvanced/sunburst.html.
Is it possible to incorporate them in sund2b?

Thanks.

@timelyportfolio
Copy link
Owner

@thulasirangan thanks for filing the issue. I have added the ability to customize the tooltip for sund2b and upgraded to the most current d2b release. Please install devtools::install_github("timelyportfolio/sunburstR") if possible and see ?sunburstR::sund2bTooltip. I'll try to submit to CRAN soon.

@timelyportfolio
Copy link
Owner

@thulasirangan just a note I went ahead and submitted to CRAN if easier for you to install from there. Please let me know if I can help achieve your desired tooltip.

@thulasirangan
Copy link
Author

Hi,
Thanks for adding this enhancement. Now I am able to show customized content in the tooltip.
But I see that the breadcrumb and the tooltip aren't in sync. Is it possible to add the same feature in the breadcrumbs? I am ok if you can provide a toggle to disable the breadcrumb as well.

Let me know if I can be of some assistance in integrating the breadcrumb customisation properties in the package.

Thanks.

@timelyportfolio
Copy link
Owner

@thulasirangan I added breadcrumb customization. If possible please try with devtools::install_github("timelyportfolio/sunburstR").

@thulasirangan
Copy link
Author

Awesome.. Tried it out and it serves my purpose.. Many thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants