Skip to content
Snippets Groups Projects
Commit 07c1ae41 authored by Franck.Gaspard's avatar Franck.Gaspard
Browse files

correction de creer_graphe_3_4.R

parent c7a28824
Branches
No related tags found
2 merge requests!65maj_avant_transfert_vers_gitlabforge,!3961-accentuer-le-contraste-des-teintes-orangees-sur-certains-graphiques
Pipeline #185366 failed
...@@ -107,10 +107,10 @@ creer_graphe_3_4 <- function(millesime_stock_artif = NULL,millesime_population = ...@@ -107,10 +107,10 @@ creer_graphe_3_4 <- function(millesime_stock_artif = NULL,millesime_population =
ggplot2::coord_flip() + ggplot2::coord_flip() +
ggplot2::geom_text(ggplot2::aes(label=format(round(.data$valeur,0), big.mark = " "),color = .data$variable),position= ggplot2::position_dodge(width=1), hjust=-0.1)+ ggplot2::geom_text(ggplot2::aes(label=format(round(.data$valeur,0), big.mark = " "),color = .data$variable),position= ggplot2::position_dodge(width=1), hjust=-0.1)+
ggplot2::scale_fill_manual(values = c("#82534b","#FF8D7E")) + ggplot2::scale_fill_manual(values = c("#82534b","#FF8D7E")) +
ggplot2::scale_color_manual(values = c("#82534b","#FF8D7E")) ggplot2::scale_color_manual(values = c("#82534b","#FF8D7E")) +
ggplot2::labs( ggplot2::labs(
title = glue::glue("Surfaces cadastr\u00e9es artificialis\u00e9es (m2)", width = 60), title = glue::glue("Surfaces cadastr\u00e9es artificialis\u00e9es (m2)", width = 60),
subtitle = glue::glue("<span style = 'color:#FF8D7E'>par habitant pr\u00e9sent en {millesime_debut_population}</span> et <span style = 'color:#D6857B'>par nouvel habitant entre {millesime_debut_population} et {millesime_fin_population}</span> "), subtitle = glue::glue("<span style = 'color:#FF8D7E'>par habitant pr\u00e9sent en {millesime_debut_population}</span> et <span style = 'color:#82534b'>par nouvel habitant entre {millesime_debut_population} et {millesime_fin_population}</span> "),
x = "", y = "", x = "", y = "",
fill = "", fill = "",
caption = glue::glue("Source : DGFip Majic/Cerema Fichiers fonciers - Insee - {millesime_stock_artif}") caption = glue::glue("Source : DGFip Majic/Cerema Fichiers fonciers - Insee - {millesime_stock_artif}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment