#4184 Resize legend if it becomes larger than plot area.

This commit is contained in:
Gaute Lindkvist
2019-03-07 19:00:38 +01:00
parent 804a196ce3
commit 6f1ed595b5
5 changed files with 90 additions and 10 deletions

View File

@@ -184,7 +184,9 @@ RiuQwtSymbol::PointSymbolEnum RiuQwtSymbol::cycledFilledSymbolStyle(int indexLev
{
std::vector<PointSymbolEnum> contrastingSymbols =
{
SYMBOL_ELLIPSE, SYMBOL_RECT };
SYMBOL_ELLIPSE, SYMBOL_RECT, SYMBOL_DIAMOND, SYMBOL_DOWN_TRIANGLE, SYMBOL_UP_TRIANGLE,
SYMBOL_LEFT_TRIANGLE, SYMBOL_RIGHT_TRIANGLE, SYMBOL_STAR2
};
return contrastingSymbols[indexLevel % (int)contrastingSymbols.size()];
}