From 1e81724ed8323e1770524688e7b631030aa3f5a9 Mon Sep 17 00:00:00 2001 From: Hacene SI HADJ MOHAND Date: Fri, 20 Nov 2020 16:44:13 +0100 Subject: [PATCH] activated legend ok --- src/InputOutput/IHMImpl/ParamInfo/IHMInputOutputParamInfoClass.php | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) diff --git a/src/InputOutput/IHMImpl/ParamInfo/IHMInputOutputParamInfoClass.php b/src/InputOutput/IHMImpl/ParamInfo/IHMInputOutputParamInfoClass.php index a4ae53b..d2b0a62 100644 --- a/src/InputOutput/IHMImpl/ParamInfo/IHMInputOutputParamInfoClass.php +++ b/src/InputOutput/IHMImpl/ParamInfo/IHMInputOutputParamInfoClass.php @@ -399,6 +399,11 @@ class IHMInputOutputParamInfoClass implements InputOutputInterface $scale = $axisNode->getScale(); if (isset($scale)) $result_array['axis-scale'] = $scale; + + $showLegend = $axisNode->getShowLegend(); + if (!empty($showLegend)) + $result_array['axis-legend-activated'] = ($showLegend == "true"); + $rangeNode = $axisNode->getRange(); if (isset($rangeNode)) { $rangeMin = $rangeNode->getMin(); -- libgit2 0.21.2