我正在尝试构建一个小的仪表板应用程序,其中我需要使用ramcharts的漏斗图来绘制漏斗图。请看下面的代码和截图。
body <- dashboardBody(
tags$style(type = "text/css", "#map {height: calc(100vh - 80px) !important;}"),
fluidRow(
box(
title = "Box title", width = 6, status = "primary",
amChartsOutput(outputId = "amfunnel",width = "100%")
),
box(
status = "warning", width = 4,
"Box content"
),
box(
status = "warning", width = 2,
"Box Content"
)
)
)
server <- function(input, output) {
output$amfunnel <- renderAmCharts({
amFunnel(data = data_funnel, inverse = FALSE, label_side = "left")
})我想让漏斗填满容器/盒子。我尝试增加框的宽度,但这会覆盖/限制页面中的其他框。如何增加漏斗的宽度,使其充满整个盒子。
https://stackoverflow.com/questions/41320878
复制相似问题