timelyportfolio / sunburstR

R htmlwidget for interactive sunburst plots
http://timelyportfolio.github.io/sunburstR/articles/sunburst-2-0-0.html
Other
210 stars 123 forks source link

Modify sund2b breadcrumb size #98

Closed alopgar closed 4 years ago

alopgar commented 4 years ago

I did a sund2b plot using this code:

ggsunb_st <- sunburstR::sund2b(sunb[,c("Taxonomy", "Standard")], width = "100%", height = 500)

The problem with output is the size of the breadcrumb, as it appears incomplete. I would like to change the size of the breadcrumb windows to fit my figure height.

image

Is there an easy way to do this? Thanks!

timelyportfolio commented 4 years ago

Hi @alopgar thanks for the issue. We have two options:

  1. adjust the CSS as discussed in https://github.com/timelyportfolio/sunburstR/issues/90
  2. customize the breadcrumb https://github.com/timelyportfolio/sunburstR/issues/92#issuecomment-538766386; see ?sunburstR::sund2bBreadcrumb.

Let me know if none of this makes sense and I'll be happy to help.

timelyportfolio commented 4 years ago

Closing since no response. Please reopen if this is not solved.