Commit ea8e0c6dfb0776a4076569ae99317e9ef7ab3607

Authored by Furkan
1 parent bb93f077
Exists in master and in 1 other branch amdadev

Corrections done on the normalization

src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php
... ... @@ -806,6 +806,10 @@ class IHMInputOutputParamsPlotClass extends IHMInputOutputParamsAbstractClass
806 806 else{
807 807 $histogram2DNode->getHistotype()->setNormDims(RequestOutputPlotHistogram2DTypeEnum::ALL);
808 808 }
  809 +
  810 + // is normmaxed
  811 + $histogram2DNode->getHistotype()->setNormMaxed($paramData->{'param-drawing-object'}->{'histo2d-normmaxed'} ? "true" : "false");
  812 +
809 813 }
810 814  
811 815 }
... ...
src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotHistogram2DSerieNodeClass.php
... ... @@ -19,6 +19,7 @@ define ("REQUESTOUTPUTPLOTHISTOTYPE_SMOOTHFACTOR", "smoothfactor");
19 19 define ("REQUESTOUTPUTPLOTHISTOTYPE_PARAMID", "paramId");
20 20 define ("REQUESTOUTPUTPLOTHISTOTYPE_INDEX", "index");
21 21 define ("REQUESTOUTPUTPLOTHISTOTYPE_NORMDIMS", "normdims");
  22 +define ("REQUESTOUTPUTPLOTHISTOTYPE_NORMMAXED", "normmaxed");
22 23 /**
23 24 * @class RequestOutputPlotHistogram2DSerieNodeClass
24 25 * @brief Definition of a histogram2d for a plot of a plot request
... ... @@ -99,6 +100,13 @@ class RequestOutputPlotHistotypeNodeClass extends NodeClass
99 100 return $this->getAttribute(REQUESTOUTPUTPLOTHISTOTYPE_NORMDIMS);
100 101 }
101 102  
  103 + public function setNormMaxed($normMaxed){
  104 + $this->setAttribute(REQUESTOUTPUTPLOTHISTOTYPE_NORMMAXED, $normMaxed);
  105 + }
  106 + public function getShowErrBar(){
  107 + return $this->getAttribute(REQUESTOUTPUTPLOTHISTOTYPE_NORMMAXED);
  108 + }
  109 +
102 110 }
103 111  
104 112 class RequestOutputPlotHistogram2DSerieNodeClass extends RequestOutputPlotBaseSerieNodeClass
... ...