From 328ca287ff388ab0633cffd5bb9ce28f2a16ea65 Mon Sep 17 00:00:00 2001 From: Andreas Gammelgaard Damsbo Date: Thu, 25 Sep 2025 12:17:44 +0200 Subject: [PATCH] feat: euler limited to dichotomous data not to crash the server --- R/data_plots.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/R/data_plots.R b/R/data_plots.R index e46f1c12..4fb06504 100644 --- a/R/data_plots.R +++ b/R/data_plots.R @@ -554,11 +554,11 @@ supported_plots <- function() { fun = "plot_euler", descr = i18n$t("Euler diagram"), note = i18n$t("Generate area-proportional Euler diagrams to display set relationships"), - primary.type = c("dichotomous", "categorical"), - secondary.type = c("dichotomous", "categorical"), + primary.type = c("dichotomous"), + secondary.type = c("dichotomous"), secondary.multi = TRUE, secondary.max = 4, - tertiary.type = c("dichotomous", "categorical"), + tertiary.type = c("dichotomous"), secondary.extra = NULL ) )