Commit fdeea5c75f0052a4331b3bb6325311cae3bc4421

Authored by Erdogan Furkan
1 parent 4f5b34a4

For Z axis values

src/InputOutput/IHMImpl/Tools/IHMPlotContextFileClass.php
... ... @@ -113,6 +113,8 @@ class IHMPlotContextFileClass
113 113 $panelContext['plotArea']['y'] = $pageContext['height'] - intval($plotAreaNode->getAttribute('y')) - $panelContext['plotArea']['height'];
114 114 $panelContext['plotArea']['width'] = intval($plotAreaNode->getAttribute('width'));
115 115 }
  116 + //BG COLOR
  117 + $panelContext['plotArea']['plotAreaBackgroundColor'] = ($plotAreaNode->getAttribute('plotAreaBackgroundColor'));
116 118  
117 119 //hasSpectro
118 120 $panelContext['plotArea']['hasSpectro'] = ($plotAreaNode->getAttribute('hasSpectro') == "true");
... ... @@ -127,7 +129,8 @@ class IHMPlotContextFileClass
127 129 'id' => $axisNode->getAttribute('id'),
128 130 'logarithmic' => ($axisNode->getAttribute('logarithmic') == "true"),
129 131 'min' => floatval($axisNode->getAttribute('min')),
130   - 'max' => floatval($axisNode->getAttribute('max'))
  132 + 'max' => floatval($axisNode->getAttribute('max')),
  133 + 'colorsList' => $axisNode->getAttribute('colorsList')
131 134 );
132 135  
133 136 $panelContext['plotArea']['axes'][] = $axisContext;
... ...