#8779 Summary Multi Plot : Add flag to control visibility of axis number values

Useful for making plots anonymized
This commit is contained in:
Magne Sjaastad
2022-04-07 14:06:57 +02:00
parent a0507c85f4
commit f099a8c89f
8 changed files with 43 additions and 2 deletions

View File

@@ -1129,6 +1129,14 @@ void RiuQwtPlotWidget::enableAxis( RiuPlotAxis axis, bool isEnabled )
m_plot->setAxisVisible( toQwtPlotAxis( axis ), isEnabled );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RiuQwtPlotWidget::enableAxisNumberLabels( RiuPlotAxis axis, bool isEnabled )
{
m_plot->axisScaleDraw( toQwtPlotAxis( axis ) )->enableComponent( QwtAbstractScaleDraw::Labels, isEnabled );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------