replot
This commit is contained in:
parent
7b3426acbb
commit
1ce7355e58
|
|
@ -11845,7 +11845,7 @@ void QMyCustomPlot::vertScrollBarChanged(QString strUuid, int value, int low, in
|
||||||
xAxis->setRange(-value, xAxis->range().size(), Qt::AlignRight);
|
xAxis->setRange(-value, xAxis->range().size(), Qt::AlignRight);
|
||||||
const QCPRange& rg = xAxis->range();
|
const QCPRange& rg = xAxis->range();
|
||||||
this->updateDepthY(rg.lower, rg.upper);
|
this->updateDepthY(rg.lower, rg.upper);
|
||||||
replot();
|
replot(QCustomPlot::rpQueuedRefresh);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|
@ -11854,7 +11854,7 @@ void QMyCustomPlot::vertScrollBarChanged(QString strUuid, int value, int low, in
|
||||||
this->yAxis->setRange(-value, this->yAxis->range().size(), Qt::AlignRight);
|
this->yAxis->setRange(-value, this->yAxis->range().size(), Qt::AlignRight);
|
||||||
const QCPRange& rg = yAxis->range();
|
const QCPRange& rg = yAxis->range();
|
||||||
this->updateDepthY(rg.lower, rg.upper);
|
this->updateDepthY(rg.lower, rg.upper);
|
||||||
replot();
|
replot(QCustomPlot::rpQueuedRefresh);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user