#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 committed 2022-04-07 17:49:07 +02:00
1 parent a0507c85f4
commit f099a8c89f
8 files changed
+43 -2

No files matched your search

@@ -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 );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------