commit d8871b3487d3363766af2f1236b7ac3f72e785a5 Author: Karsten Loesing karsten.loesing@gmx.net Date: Sun Mar 8 08:27:05 2020 +0100
squash! Update directory bytes graph to include authorities.
- Handle missing dates correctly. --- src/main/R/rserver/rserve-init.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/R/rserver/rserve-init.R b/src/main/R/rserver/rserve-init.R index 6d4c571..897654c 100644 --- a/src/main/R/rserver/rserve-init.R +++ b/src/main/R/rserver/rserve-init.R @@ -488,7 +488,7 @@ plot_dirbytes <- function(start_p, end_p, path_p) { authority = factor( ifelse(grepl("auth", variable), "authorities", "mirrors"), levels = c("authorities", "mirrors"))) %>% - complete(date = full_seq(date, period = 1), nesting(variable)) %>% + complete(date = full_seq(date, period = 1), nesting(readwrite, authority)) %>% ggplot(aes(x = date, y = value, colour = readwrite)) + geom_line() + facet_grid(authority ~ ., scales = "free_y", space = "free_y") +
tor-commits@lists.torproject.org