From 4d20037ffd7ee070bcb0892f834757b85ced76a8 Mon Sep 17 00:00:00 2001 From: Emil Malta Date: Sat, 23 May 2026 21:42:27 +0200 Subject: [PATCH 1/2] Show last value labels again by default. --- R/statgl_plot.R | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/R/statgl_plot.R b/R/statgl_plot.R index 900f1f6..db3a3bc 100644 --- a/R/statgl_plot.R +++ b/R/statgl_plot.R @@ -28,10 +28,9 @@ #' [highcharter::hc_title()], [highcharter::hc_subtitle()] and #' [highcharter::hc_caption()]. Titles and subtitles are left-aligned; #' captions are right-aligned. -#' @param show_last_value Logical; defaults `FALSE`. If `TRUE`, adds data labels +#' @param show_last_value Logical; defaults `TRUE`. Adds data labels #' for the final point of each `"line"`, `"spline"` and `"area"` series, or -#' for all -#' bars in `"bar"` / `"column"` charts. +#' for all bars in `"bar"` / `"column"` charts. #' @param xlab,ylab Axis labels. If `NULL` or `""`, no axis title is shown and #' any automatic titles inferred by [highcharter::hchart()] are disabled. #' @param tooltip Optional JavaScript string passed to @@ -152,7 +151,7 @@ statgl_plot <- function( title = NULL, subtitle = NULL, caption = NULL, - show_last_value = FALSE, + show_last_value = TRUE, xlab = NULL, ylab = NULL, tooltip = NULL, From 37a707e60afca9578e569e6da94767a9b5936a78 Mon Sep 17 00:00:00 2001 From: Emil Malta Date: Sat, 23 May 2026 21:42:41 +0200 Subject: [PATCH 2/2] Increment version number to 0.5.2.9002 --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 69fedea..d3fb7f0 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: statgl Title: Statistics Greenland R Package -Version: 0.5.2.9001 +Version: 0.5.2.9002 Authors@R: c( person("Emil", "Malta", , "emim@stat.gl", role = c("aut", "cre")), person("Alexander", "Krabbe", , "alkr@stat.gl", role = "aut")