Grid Cross Plot: Use the term Grouping instead of Categorization

This commit is contained in:
Gaute Lindkvist
2019-03-05 13:26:59 +01:00
parent b6a2bcfa59
commit 8845c456bc
11 changed files with 138 additions and 121 deletions

View File

@@ -119,7 +119,7 @@ void RiuGridCrossQwtPlot::updateLegendLayout()
{
RiuCvfOverlayItemWidget* overlayWidget = pairIt->second;
// Show only one copy of each legend type
if (!legendTypes.count(curveSet->categoryTitle()))
if (!legendTypes.count(curveSet->groupTitle()))
{
if (ypos + overlayWidget->height() + spacing > this->canvas()->height())
{
@@ -133,7 +133,7 @@ void RiuGridCrossQwtPlot::updateLegendLayout()
ypos += pairIt->second->height() + spacing;
maxColumnWidth = std::max(maxColumnWidth, pairIt->second->width());
legendTypes.insert(curveSet->categoryTitle());
legendTypes.insert(curveSet->groupTitle());
}
}
}