问题
REmap
和echarts4r
的雷达图显示空白页
调试
明白了Echarts.js
和adminLTE.js
都会使用$来作为一个调用的接口, 产生了冲突, 在JS层面产生了冲突, 所以不能同时使用
除了把它用htmlwidgets
重写掉之外, 我想不出有什么解决的方法...
出处:shinydashboard中如何展示REmap?DT::dataTableOutput一起用显示空白? #29
Check your canvas in the page. I suspect it's just really huge and you need to scroll down a little to see it.
出处:shiny htmlwidget renders blank
You can try using some jQuery
directly in order to respond to the user clicking on the button. The onRender would be:
...
出处:Shiny actionButton() output in onRender() function of htmlWidgets
原因总结
echarts
路径错误
- 没有相关的
json
数据
- 没有引入
jQuery
原因总结
...
出处:运行echarts的官方示例显示为空白的解决方法
在GitHub猫舍中发问明白了Echarts.js和adminLTE.js都会使用$来作为一个调用的接口, 产生了冲突, 在JS层面产生了冲突, 所以不能同时使用 #428无人回复,发现这儿写了个htmlwidget R包:faq有人熟悉js
,可以指导怎么修改代码吗?