Skip to content
Snippets Groups Projects
Commit 2af5946a authored by Tom Rushby's avatar Tom Rushby
Browse files

Update plot title

parent 05581277
No related branches found
No related tags found
No related merge requests found
...@@ -232,7 +232,7 @@ server <- function(input, output, session) { ...@@ -232,7 +232,7 @@ server <- function(input, output, session) {
auth_area <- input$authmap_shape_click$id auth_area <- input$authmap_shape_click$id
} }
plotTitle = paste0("Greenhouse gas emissions by sector for ",auth_area) plotTitle = paste0("Greenhouse gas emissions by sector for ",auth_area, " - ",x_min, " to ",x_max)
ggplot() + ggplot() +
geom_col(ghg_subset(dt = pc_detail_plot, auth_area = auth_area), mapping = aes(x = Year, y = value, fill = variable), position = "stack") + geom_col(ghg_subset(dt = pc_detail_plot, auth_area = auth_area), mapping = aes(x = Year, y = value, fill = variable), position = "stack") +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment