【发布时间】:2017-04-26 13:41:15
【问题描述】:
我的目标是将页面分为四个象限,每个象限都有一组单独的图。
我准备好了一个象限。当它占据整个窗口时看起来不错。我想在一个页面上有 4 个这样的窗格。正如您从(两个上象限的)屏幕截图中看到的那样,将已经准备好的窗格插入左上象限会导致一些非常模糊的东西。我怎样才能让图表不变得模糊?
我使用了fluidrow,也许这不是一个好主意?
ui = fluidPage(
fluidRow(
column(6,
fluidRow(
column(8, plotOutput("barChart1", height = 250))
, column(4, plotOutput("compteur1", height = 250))
)
,fluidRow(
column(3,
dateRangeInput(
"dateRange2",
label = "Choose the window:",
start = "2016-09-01"
)
)
, column(3,
selectInput("security", "Index:", selected = worldindices[1]
, list(`World Indices` = worldindices,
`Regional Indices` = regionIndices,
`Country Indices` = countryIndices)
)
)
, column(3,
selectInput("metric", "Metric:", selected = plainMetrics[1]
, list(plainMetrics
, `Valuation Multiples` = valMul
, `Fundamentals` = corpFund)
)
)
)
, plotOutput("chartAggr", height = 250)
)
, column(6, style = "background-color:yellow;", div(style = "height:500px;")
)
)
)
亲切的问候
编辑 - 以下是答案:
试图在服务器端为renderPlot 的res 参数赋予更高的值似乎不起作用。例如,我给它的值是 128,并得到以下结果:
【问题讨论】: