Shows the change of every index over the period picked, from
the summary of the Overview tab, so the histories are downloaded once for
both tabs. The CSV file, named like performance-ytd-2026-11-07.csv, holds
the changes of the chart from performance_data(), unrounded.
Arguments
- id
Character. Module namespace id, must match the id used in
mod_performance_ui().- summary
Reactive returning the
index_summary()of every index, asmod_overview_server()returns it.- indices
Data frame of indices from
get_indices().- dark_mode
Reactive returning
"light"or"dark", the mode of the app.
Examples
if (FALSE) { # \dontrun{
# inside app_server():
function(input, output, session) {
summary <- mod_overview_server("overview", get_indices(), reactive(input$dark_mode))
mod_performance_server("performance", summary, get_indices(), reactive(input$dark_mode))
}
} # }