From 886985963f4c19906d4a22e14bc80a9c0ba76b58 Mon Sep 17 00:00:00 2001 From: iorebuild Date: Thu, 30 Apr 2026 13:36:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=80=9A=E9=81=93=E6=98=BE=E7=A4=BACH1~?= =?UTF-8?q?CH16=EF=BC=88=E4=BB=8E1=E5=BC=80=E5=A7=8B=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plotwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plotwidget.cpp b/plotwidget.cpp index b6178c1..e1eb44a 100644 --- a/plotwidget.cpp +++ b/plotwidget.cpp @@ -391,7 +391,7 @@ void PlotWidget::drawLegend(QPainter &painter) } // 通道名 - QString label = QString("ch%1").arg(ch); + QString label = QString("CH%1").arg(ch+1); painter.setPen(m_channelVisible[ch] ? m_textColor : QColor("#555555")); painter.drawText(QRect(legendX + 16, y, 50, itemHeight), Qt::AlignLeft | Qt::AlignVCenter, label);