Commit ddddc350f2cd339c0a5a34a8e5adf0f92a962771

Authored by Erdogan Furkan
1 parent aea2c74b

#11675 - Done.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/ParamOutputImpl/Plot/AxisLegendManager.cc
@@ -50,7 +50,7 @@ namespace plot @@ -50,7 +50,7 @@ namespace plot
50 continue; 50 continue;
51 } 51 }
52 Color compLegendColor = lXAxis->_color; 52 Color compLegendColor = lXAxis->_color;
53 - if(param.getHistogramSeriesPropertiesList().size() > 0) 53 + if(param.getHistogramSeriesPropertiesList().size() > 1)
54 compLegendColor = pHistogramProperties->getColor(); 54 compLegendColor = pHistogramProperties->getColor();
55 ParameterIndexComponentColor xIndex = ParameterIndexComponentColor(xIndexComp, compLegendColor); 55 ParameterIndexComponentColor xIndex = ParameterIndexComponentColor(xIndexComp, compLegendColor);
56 pushComponentInList(xParamId, xIndex, axesParamsComponents[xAxisId], insertionOrder); 56 pushComponentInList(xParamId, xIndex, axesParamsComponents[xAxisId], insertionOrder);