2

散布図を使用して光沢のあるアプリを作成しようとしていますが、エラーが発生しています」

キャッチされていない DefinitionError: 仕様が正しくありません polychart2.standalone.js:263

renderchart2 を使用するとこれが修正されることを読みましたが、それでも同じエラーが発生します。rcharts の最新の開発バージョンを使用しています。これが私のコードです。

UI.R

# A bunch of user input
mainPanel(showOutput("data","polycharts"))

サーバー.R

# combined matrix is declared here
shinyServer(function(input, output)
{
    output$data <- renderChart2({
        # x and y are the column headers to be plotted
        plot <- rPlot(x=x,y=y, data=combined_matrix, 
            color = "Categories", facet = "Categories",
            type='point')
        plot$set(dom= 'data')
        return(plot)
})

ご協力いただきありがとうございます

4

0 に答える 0