Rename to plotAxis()

This commit is contained in:
Magne Sjaastad
2023-09-17 15:00:34 +02:00
parent 7d7442c3f8
commit e8aada80c5
13 changed files with 57 additions and 57 deletions

View File

@@ -641,8 +641,8 @@ void RimGridCrossPlot::swapAxes()
QString tmpName = xAxisProperties->objectName();
QString tmpTitle = xAxisProperties->axisTitleText();
RiuPlotAxis tmpAxis = xAxisProperties->plotAxisType();
xAxisProperties->setNameAndAxis( yAxisProperties->objectName(), yAxisProperties->axisTitleText(), yAxisProperties->plotAxisType().axis() );
RiuPlotAxis tmpAxis = xAxisProperties->plotAxis();
xAxisProperties->setNameAndAxis( yAxisProperties->objectName(), yAxisProperties->axisTitleText(), yAxisProperties->plotAxis().axis() );
yAxisProperties->setNameAndAxis( tmpName, tmpTitle, tmpAxis.axis() );
m_xAxisProperties.removeChild( xAxisProperties );
@@ -855,7 +855,7 @@ void RimGridCrossPlot::updateAxisInQwt( RiaDefines::PlotAxis axisType )
axisParameterString = yAxisParameterString();
}
RiuPlotAxis axis = axisProperties->plotAxisType();
RiuPlotAxis axis = axisProperties->plotAxis();
if ( axisProperties->isActive() )
{
m_plotWidget->enableAxis( axis, true );