Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shiny 里面地图不显示 #63

Open
mexin56 opened this issue Apr 12, 2018 · 0 comments
Open

shiny 里面地图不显示 #63

mexin56 opened this issue Apr 12, 2018 · 0 comments

Comments

@mexin56
Copy link

mexin56 commented Apr 12, 2018

麻烦帮忙看一下
library(recharts)
library(shiny)
app = shinyApp(
ui = fluidPage(eChartOutput('myChart')),
server = function(input, output) {
mapData <- head(mapTestData_chs, 5)
chart= eMap(mapData, namevar=~stdName, datavar = ~val1 + val2)
output$myChart = renderEChart(chart) }
)

if (interactive()) runApp(app)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant