Changeset - 78706612abd9
[Not reviewed]
Hasan Yavuz Ă–ZDERYA - 8 years ago 2017-08-27 13:29:23
hy@ozderya.net
fix plot width not updated when switching to multi mode
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/plotmanager.cpp
Show inline comments
 
@@ -46,6 +46,7 @@ PlotManager::PlotManager(QWidget* plotAr
 
    isDemoShown = false;
 
    _infoModel = infoModel;
 
    _numOfSamples = 1;
 
    _plotWidth = 1;
 
    showSymbols = Plot::ShowSymbolsAuto;
 
    emptyPlot = NULL;
 

	
 
@@ -316,6 +317,7 @@ Plot* PlotManager::addPlotWidget()
 
    plot->setNumOfSamples(_numOfSamples);
 
    plot->setSymbols(showSymbols);
 

	
 
    plot->setPlotWidth(_plotWidth);
 
    if (_xAxisAsIndex)
 
    {
 
        plot->setXAxis(0, _numOfSamples);
0 comments (0 inline, 0 general)