#11859 Summary Plot: Missing legend curve name for Excel data

Remove virtual from RimPlotCurve::setTitle()
Set curve name for an Ascii curve to custom
Make the curve title obsolete
This commit is contained in:
Magne Sjaastad committed 2024-11-25 07:18:44 +01:00
1 parent 036ed8b70e
commit 6894149f8e
5 files changed
+46 -30

No files matched your search

@@ -180,11 +180,11 @@ std::vector<RimAsciiDataCurve*> RicPasteAsciiDataToSummaryPlotFeature::parseCurv
curve->setValues( parser.columnInfo( i )->values );
if ( curvePrefix.isEmpty() )
{
curve->setTitle( QString::fromStdString( col->columnName() ) );
curve->setCustomName( QString::fromStdString( col->columnName() ) );
}
else
{
curve->setTitle( QString( "%1: %2" ).arg( curvePrefix ).arg( QString::fromStdString( col->columnName() ) ) );
curve->setCustomName( QString( "%1: %2" ).arg( curvePrefix ).arg( QString::fromStdString( col->columnName() ) ) );
}
// Appearance
curve->setSymbol( parseOptions.curveSymbol );