From fd742d0afdc481b40e693358a20901a760c1cdbe Mon Sep 17 00:00:00 2001 From: "DESKTOP-450PEFP\\mainc" Date: Wed, 8 Apr 2026 15:34:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=B1=E5=BA=A6=E6=98=BE=E7=A4=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logPlus/formdraw.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logPlus/formdraw.cpp b/logPlus/formdraw.cpp index 363a2bc..f1d0b2f 100644 --- a/logPlus/formdraw.cpp +++ b/logPlus/formdraw.cpp @@ -5957,8 +5957,8 @@ void FormDraw::initDepth(QMyCustomPlot *curv) curv->yAxis->setTickLabelSide(QCPAxis::lsInside); QFont font1("微软雅黑", 8); curv->yAxis->setTickLabelFont(font1); - curv->yAxis->setRange(qAbs(m_iY1), m_iY2); - curv->yAxis->setRangeReversed(true); + curv->yAxis->setRange(m_iY1, m_iY2); + //curv->yAxis->setRangeReversed(true); curv->axisRect()->setupFullAxesBox(); curv->yAxis->ticker()->setTickCount(60);//y个主刻度