Commit dde4b5980001c0314ab8a6fbea44009ee827ec1b

Authored by Benjamin Renard
1 parent f27db60a

Fix

src/InputOutput/IHMImpl/ParamInfo/IHMInputOutputParamInfoClass.php
... ... @@ -368,6 +368,9 @@ class IHMInputOutputParamInfoClass implements InputOutputInterface
368 368 if (isset($colorAxis)) {
369 369 $result_data['axes']['color'] = array();
370 370 $this->unmarshallAxisData($colorAxis, $result_data['axes']['color']);
  371 + $colorMapIndex = $colorAxis->getColorMapIndex();
  372 + if (!empty($colorMapIndex))
  373 + $result_data['axes']['color']['axis-color-map'] = $colorAxis->getColorMapIndex();
371 374 }
372 375  
373 376 $xAxis = $axesNode->getDigitalAxis(RequestOutputPlotAxisTypeEnum::XAXIS, 'xaxis_id');
... ...
src/Request/ParamInfoRequestClass.php
... ... @@ -155,6 +155,9 @@ class ParamInfoRequestClass extends RequestAbstractClass
155 155 'channels' => array(),
156 156 'minmax' => array()
157 157 );
  158 + if ($tableNode->getAttribute("mainDim") === "true") {
  159 + $tableResult['mainDim'] = TRUE;
  160 + }
158 161  
159 162 if (!$tableResult['variable']) {
160 163 $channelNodes = $tableNode->getElementsByTagName("channel");
... ...
src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotColorAxisNodeClass.php
... ... @@ -26,6 +26,11 @@ class RequestOutputPlotColorAxisNodeClass extends RequestOutputPlotAxisElementNo
26 26 {
27 27 $this->setAttribute(REQUESTOUTPUTPLOTCOLORAXIS_MAPINDEX, $mapIndex);
28 28 }
  29 +
  30 + public function getColorMapIndex()
  31 + {
  32 + return $this->getAttribute(REQUESTOUTPUTPLOTCOLORAXIS_MAPINDEX);
  33 + }
29 34  
30 35 public function setMinValColor($minValColor)
31 36 {
... ... @@ -56,4 +61,4 @@ class RequestOutputPlotColorAxisNodeClass extends RequestOutputPlotAxisElementNo
56 61 }
57 62 }
58 63  
59   -?>
60 64 \ No newline at end of file
  65 +?>
... ...