From 04949394c577b71f1461158a045fdbe0295789a8 Mon Sep 17 00:00:00 2001 From: Menouar AZIB Date: Fri, 2 Sep 2022 11:08:36 +0200 Subject: [PATCH] Adding interactive-preview to PlotFunction unmarshallPlotFunction --- src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php b/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php index 9bf015f..2b18711 100644 --- a/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php +++ b/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php @@ -1906,6 +1906,9 @@ class IHMInputOutputParamsPlotClass extends IHMInputOutputParamsAbstractClass $plotInput->{"startDate"} = $start_time_plotfunction; $plotInput->{"stopDate"} = $stop_time_plotfunction; $plotInput->{"file-prefix"} = RequestOutPutPlotElementPlotFunctionNodeClass::REQUESTOUTPUTPLOTELEMENT_PLOTFUNCTION_NAME; + $plotInput->{"interactive-preview"} = true; + $plotInput->{"file-format"} = "PNG"; + $plotInput->{"file-output"} = "INTERACTIVE"; foreach ($plotInput->{'panels'} as $panel) { if ($input->{'panelId'} == $panel->{'id'}) { -- libgit2 0.21.2