Changeset - 598710c96de1
[Not reviewed]
Hasan Yavuz Ă–ZDERYA - 9 years ago 2017-04-01 08:56:32
hy@ozderya.net
this pice of code was disabled because we don't use auto scale for x-axis anymore
1 file changed with 0 insertions and 8 deletions:
0 comments (0 inline, 0 general)
src/plot.cpp
Show inline comments
 
@@ -130,7 +130,6 @@ void Plot::resetAxes()
 

	
 
void Plot::unzoomed()
 
{
 
    // setAxisAutoScale(QwtPlot::xBottom);
 
    resetAxes();
 
    onXScaleChanged();
 
}
 
@@ -300,11 +299,4 @@ void Plot::onNumOfSamplesChanged(unsigne
 
{
 
    numOfSamples = value;
 
    onXScaleChanged();
 

	
 
    // TODO: what to do with this?
 

	
 
    // auto currentBase = zoomer.zoomBase();
 
    // currentBase.setWidth(value);
 
    // zoomer.setZoomBase(currentBase);
 
    // onXScaleChanged();
 
}
0 comments (0 inline, 0 general)