mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user