mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add support for summary cross plot curves in summary plots
This commit is contained in:
@@ -354,3 +354,26 @@ QList<caf::PdmOptionItemInfo> RiaSummaryTools::optionsForSummaryCases( const std
|
||||
|
||||
return options;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiaSummaryTools::copyCurveDataSources( RimSummaryCurve& curve, const RimSummaryCurve& otherCurve )
|
||||
{
|
||||
curve.setSummaryAddressX( otherCurve.summaryAddressX() );
|
||||
curve.setSummaryCaseX( otherCurve.summaryCaseX() );
|
||||
|
||||
curve.setSummaryAddressY( otherCurve.summaryAddressY() );
|
||||
curve.setSummaryCaseY( otherCurve.summaryCaseY() );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiaSummaryTools::copyCurveAxisData( RimSummaryCurve& curve, const RimSummaryCurve& otherCurve )
|
||||
{
|
||||
curve.setAxisTypeX( otherCurve.axisTypeX() );
|
||||
curve.setTopOrBottomAxisX( otherCurve.axisX() );
|
||||
|
||||
curve.setLeftOrRightAxisY( otherCurve.axisY() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user