mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Release adjustments
* Add CON*RAT track for tubing branch * Set long summary vector name as default, and allow both in curve name * Use line shift if multiple quantities are present on axis title Insert line shift if multiple quantities are present, otherwise insert space between individual vector names and the unit text. * Move Groups between Field and Wells * Bump version
This commit is contained in:
@@ -301,9 +301,14 @@ QString RimSummaryPlotAxisFormatter::autoAxisTitle() const
|
||||
|
||||
for ( const auto& unitIt : unitToQuantityNameMap )
|
||||
{
|
||||
// Insert line shift if multiple quantities are present, otherwise insert space
|
||||
bool insertLineShift = unitIt.second.size() > 1;
|
||||
|
||||
for ( const auto& quantIt : unitIt.second )
|
||||
{
|
||||
assembledYAxisText += QString::fromStdString( quantIt ) + " ";
|
||||
assembledYAxisText += QString::fromStdString( quantIt );
|
||||
|
||||
insertLineShift ? ( assembledYAxisText += "\n" ) : ( assembledYAxisText += " " );
|
||||
}
|
||||
|
||||
if ( m_axisProperties->showUnitText() )
|
||||
|
||||
Reference in New Issue
Block a user