Commit 1e81724ed8323e1770524688e7b631030aa3f5a9

Authored by Hacene SI HADJ MOHAND
1 parent 5456cf57

activated legend ok

src/InputOutput/IHMImpl/ParamInfo/IHMInputOutputParamInfoClass.php
@@ -399,6 +399,11 @@ class IHMInputOutputParamInfoClass implements InputOutputInterface @@ -399,6 +399,11 @@ class IHMInputOutputParamInfoClass implements InputOutputInterface
399 $scale = $axisNode->getScale(); 399 $scale = $axisNode->getScale();
400 if (isset($scale)) 400 if (isset($scale))
401 $result_array['axis-scale'] = $scale; 401 $result_array['axis-scale'] = $scale;
  402 +
  403 + $showLegend = $axisNode->getShowLegend();
  404 + if (!empty($showLegend))
  405 + $result_array['axis-legend-activated'] = ($showLegend == "true");
  406 +
402 $rangeNode = $axisNode->getRange(); 407 $rangeNode = $axisNode->getRange();
403 if (isset($rangeNode)) { 408 if (isset($rangeNode)) {
404 $rangeMin = $rangeNode->getMin(); 409 $rangeMin = $rangeNode->getMin();