Skip to content

Commit 637e682

Browse files
committed
[F] Fixed x axis with timestamps
1 parent 87793b9 commit 637e682

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/core/plotwidget.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,8 +812,11 @@ void PlotWidget::createAppearance()
812812
if (axisIndex != axisModelVector.size() - 1
813813
&& mPlotStyle.mXAxisPref.mIsAxisDrawingAtCenterEnabled == false) {
814814
axisRect->axis(QCPAxis::atBottom)->setTickLabels(false);
815-
axisRect->axis(QCPAxis::atBottom)->setTickLabelType(mLayoutModel->timeAxisType());
815+
//axisRect->axis(QCPAxis::atBottom)->setTickLabelType(mLayoutModel->timeAxisType());
816816
}
817+
818+
axisRect->axis(QCPAxis::atBottom)->setTickLabelType(mLayoutModel->timeAxisType());
819+
817820
//ticks
818821

819822
// auto axisPen = axisRect->axis(QCPAxis::atLeft)->basePen();

0 commit comments

Comments
 (0)