jeromefroe / circlepackeR

R htmlwidget for circle packing visualization
http://jeromefroe.github.io/circlepackeR/
MIT License
25 stars 13 forks source link

Two sizing questions #10

Open ABSOD opened 5 years ago

ABSOD commented 5 years ago

Hi I have two questions about circelpackeR: I am using circlepackeR in a shiny dashboard.
1) How do I scale the image so that it fills a box: MuniRank.box1 <- box(title = p("Municipal Clusters", actionButton("titleBtId", "", icon = icon("refresh"), class = "btn-xs", title = "Click to Expand")), width=3, solidHeader = TRUE, renderCirclepackeR(MuniPack)) "MuniPack" is the circlepackeR visualization. How do I scale the image so that it fills the box?

2) How do you resize the image?
I want to expand the width of the box (so that it covers the 12 column space) and have the image resize (and make the labels in the inner circles more legible). How can I do this?

Thanks AB

jeromefroe commented 5 years ago

Hi! Unfortunately, I'm not sure off the top of my head, and I don't really have the cycles to maintain this repo anymore as I no longer use R during my day-to-day. Sorry, wish I could be of more help :(