diff --git a/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php b/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php index f75bab5..9d73dc0 100644 --- a/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php +++ b/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php @@ -819,7 +819,7 @@ class IHMInputOutputParamsPlotClass extends IHMInputOutputParamsAbstractClass // xBinNumber $histogram1DNode->getBins()->addManual1DBins($paramData->{'param-drawing-object'}->{'histo1d-xbinnumber'}, - ($paramData->{'param-drawing-object'}->{'histo1d-style'} == "stares") ? FALSE:TRUE); + ($paramData->{'param-drawing-object'}->{'histo1d-style'} == "stairs") ? FALSE:TRUE); // histotype, function $histogram1DNode->getHistotype()->set1DFunction($paramData->{'param-drawing-object'}->{'histo1d-function'}); diff --git a/src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotHistogram1DSerieNodeClass.php b/src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotHistogram1DSerieNodeClass.php index 1f97323..895ea31 100644 --- a/src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotHistogram1DSerieNodeClass.php +++ b/src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotHistogram1DSerieNodeClass.php @@ -10,7 +10,7 @@ define ("REQUESTOUTPUTPLOTHISTOGRAM1DSERIE_COLOR", "color"); define ("REQUESTOUTPUTPLOTBINS_NAME", "bins"); define ("REQUESTOUTPUTPLOTBINS_MANUAL", "manual"); define ("REQUESTOUTPUTPLOTBINS_XBINNUMBER", "xbinnumber"); -define ("REQUESTOUTPUTPLOTBINS_STARES", "stares"); +define ("REQUESTOUTPUTPLOTBINS_STAIRS", "stairs"); define ("REQUESTOUTPUTPLOTHISTOTYPE_NAME", "histotype"); define ("REQUESTOUTPUTPLOTHISTOTYPE_FUNCTION", "type"); @@ -27,7 +27,7 @@ class RequestOutputPlotBins1DNodeClass extends NodeClass parent::__construct($name); } - public function addManual1DBins($xBinNumber, $stares) + public function addManual1DBins($xBinNumber, $stairs) { $node = $this->getFirstChildByName(REQUESTOUTPUTPLOTBINS_MANUAL); @@ -38,7 +38,7 @@ class RequestOutputPlotBins1DNodeClass extends NodeClass } $node->setAttribute(REQUESTOUTPUTPLOTBINS_XBINNUMBER, $xBinNumber); - $node->setAttribute(REQUESTOUTPUTPLOTBINS_STARES, $stares); + $node->setAttribute(REQUESTOUTPUTPLOTBINS_STAIRS, $stairs); return $node; } -- libgit2 0.21.2