Made RiuQwtPlotWidget axis operations much more general

This commit is contained in:
Gaute Lindkvist
2019-10-25 10:53:12 +02:00
parent 0e9cda8e84
commit edead9e3af
9 changed files with 157 additions and 196 deletions

View File

@@ -611,8 +611,8 @@ void RiuGridPlotWindow::reinsertPlotWidgetsAndScrollbar()
legends[visibleIndex]->hide();
}
plotWidgets[visibleIndex]->setYAxisLabelsAndTicksEnabled( column == 0 );
plotWidgets[visibleIndex]->setYTitleEnabled( column == 0 );
plotWidgets[visibleIndex]->setAxisLabelsAndTicksEnabled( QwtPlot::yLeft, column == 0 );
plotWidgets[visibleIndex]->setAxisTitleEnabled( QwtPlot::yLeft, column == 0 );
plotWidgets[visibleIndex]->show();