From adbdd44a2a07382bf808565fa1b4e1a84b7e6129 Mon Sep 17 00:00:00 2001 From: JTPetter <61797391+JTPetter@users.noreply.github.com> Date: Tue, 19 Nov 2024 15:09:50 +0100 Subject: [PATCH] Fix 2773 --- R/variablesChartsIndividuals.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/R/variablesChartsIndividuals.R b/R/variablesChartsIndividuals.R index bae4fc32..5f4a2468 100644 --- a/R/variablesChartsIndividuals.R +++ b/R/variablesChartsIndividuals.R @@ -70,9 +70,9 @@ variablesChartsIndividuals <- function(jaspResults, dataset, options) { # ImR chart if (options$xmrChart && is.null(jaspResults[["Ichart"]])) { jaspResults[["Ichart"]] <- createJaspContainer(position = 1) - jaspResults[["Ichart"]]$dependOn(c("xmrChart", "variables", "xmrChartMovingRangeLength", "axisLabels", "reportTitle", + jaspResults[["Ichart"]]$dependOn(c("xmrChart", "xmrChartMovingRangeLength", "axisLabels", "reportTitle", "reportMeasurementName", "reportMiscellaneous","reportReportedByBy","reportDate", "report", - "stage", "controlLimitsNumberOfSigmas")) + "stage", "measurement", "controlLimitsNumberOfSigmas")) jaspResults[["Ichart"]][["plot"]] <- createJaspPlot(title = gettext("X-mR control chart"), width = 1200, height = 500) if (ready) { # Error conditions for stages @@ -114,7 +114,7 @@ variablesChartsIndividuals <- function(jaspResults, dataset, options) { plotHeight <- if ((options[["reportIMRChart"]] && nElements == 2) || nElements == 0) 1000 else ceiling(nElements/2) * 500 reportPlot <- createJaspPlot(title = gettext("Variables Chart for Individuals Report"), width = 1250, height = plotHeight) jaspResults[["report"]] <- reportPlot - jaspResults[["report"]]$dependOn(c("xmrChart", "variables", "xmrChartMovingRangeLength", "axisLabels", + jaspResults[["report"]]$dependOn(c("xmrChart", "xmrChartMovingRangeLength", "axisLabels", "stage", "controlLimitsNumberOfSigmas", "autocorrelationPlotLagsNumber", "reportMetaData", "reportTitle", "reportTitleText", "reportIMRChart", "reportAutocorrelationChart", "reportChartName", "reportChartNameText", "reportSubtitle", "reportSubtitleText",