Fixes to Flowview and Graphing windows to make them work with new

QCustomPlot version
This commit is contained in:
Collin Kidder
2017-08-13 18:01:05 -04:00
parent c05bd2c043
commit 280a3e11d7
3 changed files with 29 additions and 5 deletions
+2 -2
View File
@@ -708,8 +708,8 @@ void FlowViewWindow::updateGraphLocation()
{
if (secondsMode)
{
/*
ui->graphView->xAxis->setRange(frameCache[start].timestamp / 1000000.0, frameCache[end].timestamp / 1000000.0);
/*
ui->graphView->xAxis->setTickStep((frameCache[end].timestamp - frameCache[start].timestamp)/ 3000000.0);
ui->graphView->xAxis->setSubTickCount(0);
ui->graphView->xAxis->setNumberFormat("f");
@@ -718,8 +718,8 @@ void FlowViewWindow::updateGraphLocation()
}
else
{
/*
ui->graphView->xAxis->setRange(frameCache[start].timestamp, frameCache[end].timestamp);
/*
ui->graphView->xAxis->setTickStep((frameCache[end].timestamp - frameCache[start].timestamp)/ 3.0);
ui->graphView->xAxis->setSubTickCount(0);
ui->graphView->xAxis->setNumberFormat("f");