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
 
@@ -127,13 +127,12 @@ void Plot::resetAxes()
 

	
 
    replot();
 
}
 

	
 
void Plot::unzoomed()
 
{
 
    // setAxisAutoScale(QwtPlot::xBottom);
 
    resetAxes();
 
    onXScaleChanged();
 
}
 

	
 
void Plot::showGrid(bool show)
 
{
 
@@ -297,14 +296,7 @@ void Plot::resizeEvent(QResizeEvent * ev
 
}
 

	
 
void Plot::onNumOfSamplesChanged(unsigned value)
 
{
 
    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)