#1126 Ensure cumulative saturation TOF plot data is only loaded when visible

This commit is contained in:
Bjørnar Grip Fjær
2017-08-16 09:39:34 +02:00
parent 2c2c82643d
commit 323417364d
2 changed files with 2 additions and 2 deletions

View File

@@ -179,6 +179,7 @@ void RiuTofAccumulatedPhaseFractionsPlot::setSamples(std::vector<double> xSample
maxVal = std::max(val, maxVal);
}
setAxisScale(QwtPlot::xBottom, 0, maxVal);
updateAxes();
}
}