Summary Plot: Add support for multiple plot axis.

This commit is contained in:
Kristian Bendiksen authored and Magne Sjaastad committed 2022-02-07 09:55:11 +01:00
1 parent a3ad9d2c1e
commit e92e2e8764
54 files changed
+1222 -828

No files matched your search

@@ -189,9 +189,9 @@ RigGridCellResultAddress RimGridTimeHistoryCurve::resultAddress()
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RiaDefines::PlotAxis RimGridTimeHistoryCurve::yAxis() const
RiuPlotAxis RimGridTimeHistoryCurve::yAxis() const
{
return m_plotAxis();
return RiuPlotAxis( m_plotAxis() );
}
//--------------------------------------------------------------------------------------------------
@@ -408,7 +408,7 @@ void RimGridTimeHistoryCurve::onLoadDataAndUpdate( bool updateParentPlot )
RimSummaryPlot* plot = nullptr;
firstAncestorOrThisOfType( plot );
bool isLogCurve = plot->isLogarithmicScaleEnabled( this->yAxis() );
bool isLogCurve = plot->isLogarithmicScaleEnabled( yAxis() );
if ( plot->timeAxisProperties()->timeMode() == RimSummaryTimeAxisProperties::DATE )
{