Skip to content

Commit

Permalink
byttet til fra label til annotate pga warning
Browse files Browse the repository at this point in the history
  • Loading branch information
skkrist committed Sep 4, 2024
1 parent f8fd737 commit dbfcb1d
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions inst/NORIC_tavi_report.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -476,14 +476,16 @@ ggplot2::ggplot(df_cumplot) +
periode_data$sisteHeleYear:periode_data$nyesteRegYear),
breaks = periode_data$sisteHeleYear:periode_data$nyesteRegYear) +
ggplot2::geom_label(mapping = ggplot2::aes(x= 12,
y = tot_fjor * 0.95,
label = tot_fjor) ,
colour = colPrimary[3]) +
ggplot2::geom_label(mapping = ggplot2::aes(x= periode_data$nyesteRegMnd,
y = tot_aar * 0.95,
label = tot_aar),
ggplot2::annotate(geom = "label",
x= 12,
y = tot_fjor * 0.95,
label = tot_fjor,
colour = colPrimary[3]) +
ggplot2::annotate(geom = "label",
x= periode_data$nyesteRegMnd,
y = tot_aar * 0.95,
label = tot_aar,
colour = colKontrast) +
ggplot2::xlab("") +
Expand Down

0 comments on commit dbfcb1d

Please sign in to comment.