Commit fa465d7a66996bdfe8b5195b8b181adc50853a6c

Authored by Furkan
1 parent e076e273

Minor fix

src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php
... ... @@ -819,7 +819,7 @@ class IHMInputOutputParamsPlotClass extends IHMInputOutputParamsAbstractClass
819 819  
820 820 // xBinNumber
821 821 $histogram1DNode->getBins()->addManual1DBins($paramData->{'param-drawing-object'}->{'histo1d-xbinnumber'},
822   - ($paramData->{'param-drawing-object'}->{'histo1d-style'} == "stares") ? FALSE:TRUE);
  822 + ($paramData->{'param-drawing-object'}->{'histo1d-style'} == "stairs") ? FALSE:TRUE);
823 823  
824 824 // histotype, function
825 825 $histogram1DNode->getHistotype()->set1DFunction($paramData->{'param-drawing-object'}->{'histo1d-function'});
... ...
src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotHistogram1DSerieNodeClass.php
... ... @@ -10,7 +10,7 @@ define ("REQUESTOUTPUTPLOTHISTOGRAM1DSERIE_COLOR", "color");
10 10 define ("REQUESTOUTPUTPLOTBINS_NAME", "bins");
11 11 define ("REQUESTOUTPUTPLOTBINS_MANUAL", "manual");
12 12 define ("REQUESTOUTPUTPLOTBINS_XBINNUMBER", "xbinnumber");
13   -define ("REQUESTOUTPUTPLOTBINS_STARES", "stares");
  13 +define ("REQUESTOUTPUTPLOTBINS_STAIRS", "stairs");
14 14  
15 15 define ("REQUESTOUTPUTPLOTHISTOTYPE_NAME", "histotype");
16 16 define ("REQUESTOUTPUTPLOTHISTOTYPE_FUNCTION", "type");
... ... @@ -27,7 +27,7 @@ class RequestOutputPlotBins1DNodeClass extends NodeClass
27 27 parent::__construct($name);
28 28 }
29 29  
30   - public function addManual1DBins($xBinNumber, $stares)
  30 + public function addManual1DBins($xBinNumber, $stairs)
31 31 {
32 32 $node = $this->getFirstChildByName(REQUESTOUTPUTPLOTBINS_MANUAL);
33 33  
... ... @@ -38,7 +38,7 @@ class RequestOutputPlotBins1DNodeClass extends NodeClass
38 38 }
39 39  
40 40 $node->setAttribute(REQUESTOUTPUTPLOTBINS_XBINNUMBER, $xBinNumber);
41   - $node->setAttribute(REQUESTOUTPUTPLOTBINS_STARES, $stares);
  41 + $node->setAttribute(REQUESTOUTPUTPLOTBINS_STAIRS, $stairs);
42 42 return $node;
43 43 }
44 44  
... ...