原文链接:http:///?p=5136交互式图表与Plotly与RSHINY 图表相关的主要原因是它的内置交互性。我希望用户只是将鼠标悬停在积分上,然后看到一段描述上一年转变的文字。结果很简单,只是有点难看paste 。一个奇怪的事情是alpha功能,它被控制toRGB("colour", "alpha") ,但称为不透明度plotly 。在应用程序中,默认情况是在1990年显示参议院共和党人(即与1989年的差异): ui <- dashboardPage(skin = "black", dashboardHeader(title = "adavis", titleWidth = "250px"), dashboardSidebar( sidebarMenu( menuItem("Liberal Quotient (LQ) Scores", tabName = "frontpage"), selectInput("Party", "Select Party", choices = c("Democrats", "Republicans")), selectInput("Chamber", "Select Chamber", choices = c("House", "Senate")), selectInput("ADA", "Select LQ Score", choices = c("Nominal", "Adjusted")
|