Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upin Shiny: #3
in Shiny: #3
Comments
|
ok I'm sorry. ui.R is obviously wrong and needs to be:
` |
|
ok it is rendering now but its huge and way off page. its ignoring all height and weight parameters in both chartJSRadar() and chartJSRadarOutput |
|
Agree the canvas element comes out huge. You can control this a little with less flexible containers but I'll investigate and post back a proper solution. |
|
Likely will need to mess about with the JS. Added a basic app to inst/shiny-examples/basic to test this out. |
|
Looks like the width and height don't work quite how I expected (with % or px). Try the following in your ui.R: chartJSRadarOutput("radar", width = "450", height = "300")Does this work for you? |
|
I don't think that's working either.
|
|
Thanks for the tip. The way chart.js plots resize is a little mysterious. As we've got most cases working just about OK I'll close for now. |
I am having no luck with htmlwidgets and radarchart.
I get