timelyportfolio/sunburstR

Have the legend open by default

IhnwhiHeo opened this issue · 1 comments

Hello,

Thank you for the awesome package. This is really useful!
For now, I am wondering whether it is possible to have the legend open by default since the user should check 'legend' to see it opened. When I read the package manual, there was not an explanation about this. Thus, could it be possible?

Thank you for your time.

I found the same issue here: #15
Thus, let me close this post.
Additionally, using htmlwidgets::onRender(~~~) will disable the previously set legend setting (e.g., color, legend order, legend width, etc.), so users should copy the setting and paste it again in (~~~). Hope this helps!