mirror of
https://github.com/dylanbenzi/hurricane_normalization_app.git
synced 2026-07-29 21:01:27 +00:00
modify normalization layout
This commit is contained in:
@@ -151,48 +151,43 @@ ui <- page_navbar(
|
||||
layout_column_wrap(
|
||||
col_widths = 1,
|
||||
card(
|
||||
"MMH/MMP Normalization",
|
||||
div(
|
||||
fluidRow(
|
||||
style = "height: 100%",
|
||||
column(
|
||||
3,
|
||||
virtualSelectInput(
|
||||
"storm_overview_cost_index_lf_select",
|
||||
"Landfalls",
|
||||
choices = NULL,
|
||||
showValueAsTags = T,
|
||||
multiple = T,
|
||||
autoSelectFirstOption = T
|
||||
),
|
||||
radioGroupButtons(
|
||||
"storm_overview_cost_index_scale",
|
||||
label = "Value",
|
||||
choices = c("Index", "Loss"),
|
||||
status = "outline-primary rounded-0",
|
||||
justified = T
|
||||
),
|
||||
checkboxGroupButtons(
|
||||
"storm_overview_cost_index_mmh_mmp",
|
||||
label = "MMH/MMP",
|
||||
choices = c("MMH", "MMP"),
|
||||
selected = c("MMH", "MMP"),
|
||||
status = "outline-primary rounded-0",
|
||||
justified = T
|
||||
),
|
||||
radioGroupButtons(
|
||||
"storm_overview_cost_index_y_scale",
|
||||
label = "Y-Axis Scale",
|
||||
choices = c("Linear", "Log"),
|
||||
status = "outline-primary rounded-0",
|
||||
justified = T
|
||||
)
|
||||
full_screen = TRUE,
|
||||
layout_sidebar(
|
||||
sidebar = sidebar(
|
||||
virtualSelectInput(
|
||||
"storm_overview_cost_index_lf_select",
|
||||
"Landfalls",
|
||||
choices = NULL,
|
||||
showValueAsTags = T,
|
||||
multiple = T,
|
||||
autoSelectFirstOption = T
|
||||
),
|
||||
column(9, dygraphOutput("cost_index_chart"))
|
||||
)
|
||||
radioGroupButtons(
|
||||
"storm_overview_cost_index_scale",
|
||||
label = "Value",
|
||||
choices = c("Index", "Loss"),
|
||||
status = "outline-primary rounded-0",
|
||||
justified = T
|
||||
),
|
||||
checkboxGroupButtons(
|
||||
"storm_overview_cost_index_mmh_mmp",
|
||||
label = "MMH/MMP",
|
||||
choices = c("MMH", "MMP"),
|
||||
selected = c("MMH", "MMP"),
|
||||
status = "outline-primary rounded-0",
|
||||
justified = T
|
||||
),
|
||||
radioGroupButtons(
|
||||
"storm_overview_cost_index_y_scale",
|
||||
label = "Y-Axis Scale",
|
||||
choices = c("Linear", "Log"),
|
||||
status = "outline-primary rounded-0",
|
||||
justified = T
|
||||
)
|
||||
),
|
||||
dygraphOutput("cost_index_chart")
|
||||
)
|
||||
),
|
||||
card()
|
||||
)
|
||||
)
|
||||
),
|
||||
nav_panel(
|
||||
|
||||
Reference in New Issue
Block a user