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);