diff --git a/src/InputOutput/IHMImpl/Tools/IHMPlotContextFileClass.php b/src/InputOutput/IHMImpl/Tools/IHMPlotContextFileClass.php index d2bd460..072376a 100644 --- a/src/InputOutput/IHMImpl/Tools/IHMPlotContextFileClass.php +++ b/src/InputOutput/IHMImpl/Tools/IHMPlotContextFileClass.php @@ -113,6 +113,8 @@ class IHMPlotContextFileClass $panelContext['plotArea']['y'] = $pageContext['height'] - intval($plotAreaNode->getAttribute('y')) - $panelContext['plotArea']['height']; $panelContext['plotArea']['width'] = intval($plotAreaNode->getAttribute('width')); } + //BG COLOR + $panelContext['plotArea']['plotAreaBackgroundColor'] = ($plotAreaNode->getAttribute('plotAreaBackgroundColor')); //hasSpectro $panelContext['plotArea']['hasSpectro'] = ($plotAreaNode->getAttribute('hasSpectro') == "true"); @@ -127,7 +129,8 @@ class IHMPlotContextFileClass 'id' => $axisNode->getAttribute('id'), 'logarithmic' => ($axisNode->getAttribute('logarithmic') == "true"), 'min' => floatval($axisNode->getAttribute('min')), - 'max' => floatval($axisNode->getAttribute('max')) + 'max' => floatval($axisNode->getAttribute('max')), + 'colorsList' => $axisNode->getAttribute('colorsList') ); $panelContext['plotArea']['axes'][] = $axisContext; -- libgit2 0.21.2