Tweaked the graph a bit in Flowview to make the X axis labels more

sensible.
This commit is contained in:
Collin Kidder
2019-02-26 20:46:28 -05:00
parent e5e8b5ffb1
commit e6ea250113
+2 -1
View File
@@ -56,7 +56,8 @@ FlowViewWindow::FlowViewWindow(const QVector<CANFrame> *frames, QWidget *parent)
//ui->graphView->xAxis->setAutoSubTicks(false);
//ui->graphView->xAxis->setAutoTicks(false);
QCPAxisTicker *xTicker = new QCPAxisTicker();
xTicker->setTickCount(10);
xTicker->setTickCount(5);
xTicker->setTickStepStrategy(QCPAxisTicker::tssReadability);
ui->graphView->xAxis->setTicker(QSharedPointer<QCPAxisTicker>(xTicker));
//ui->graphView->xAxis->setAutoTickStep(false);
//ui->graphView->xAxis->setAutoSubTicks(false);