I have the following shiny app.
server.R
library(radarchart)
shinyServer(function(input, output) {
output$radar <- renderChartJSRadar({
scores <- data.frame("Label"=c("Communicator", "Data Wangler", "Programmer",
"Technologist", "Modeller", "Visualizer"),
"Rich" = c(9, 7, 4, 5, 3, 7),
"Andy" = c(7, 6, 6, 2, 6, 9),
"Aimee" = c(6, 5, 8, 4, 7, 6))
chartJSRadar(scores, maxScale = 10, showToolTipLabel=TRUE)
})
})
ui.R
shinyUI(fluidPage(
titlePanel("RADARRRRR "),
sidebarLayout(
sidebarPanel(
numericInput("obs", "Observations:", 10), width = 4
),
mainPanel(
chartJSRadarOutput("radar")
)
)
))
This app runs with no errors. no R console messages, no chrome console messages and a blank canvas for the plot. I know the plotting library works because I can force it to display into Rstudio. I have also checked to see if the chart.js is in the library and it seems fine.
Any help fixing or ideas for even starting to debug with no error messages are greatly appreciated.
radar
is created but there's just nothing in it? – adilapapaya