From 4f5b34a4ab8a77851904c6707431bedc6edc4d0e Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Wed, 12 Apr 2023 12:52:48 +0000 Subject: [PATCH] Add normalized density --- src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php b/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php index 21f3225..ce8233d 100644 --- a/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php +++ b/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php @@ -746,7 +746,8 @@ class IHMInputOutputParamsPlotClass extends IHMInputOutputParamsAbstractClass //smoothfactor $histogram2DNode->getHistotype()->setSmoothFactor($paramData->{'param-drawing-object'}->{'histo2d-smoothfactor'}); - if($paramData->{'param-drawing-object'}->{'histo2d-function'} != "density"){ + if(($paramData->{'param-drawing-object'}->{'histo2d-function'} != "density") && + ($paramData->{'param-drawing-object'}->{'histo2d-function'} != "normdensity")){ // paramId if (empty($paramZInfo['id'])) { throw new Exception('Z parameter must be defined to apply function.'); -- libgit2 0.21.2