From 7c1fe57b5d974ee1189e8bb74b28af49053a4e9e Mon Sep 17 00:00:00 2001 From: andresmmera Date: Sat, 19 Oct 2024 08:16:24 +0200 Subject: [PATCH] Put the x-axis unit inside parenthesis --- qucs-s-spar-viewer/qucs-s-spar-viewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qucs-s-spar-viewer/qucs-s-spar-viewer.cpp b/qucs-s-spar-viewer/qucs-s-spar-viewer.cpp index d5e45440..956fa1df 100644 --- a/qucs-s-spar-viewer/qucs-s-spar-viewer.cpp +++ b/qucs-s-spar-viewer/qucs-s-spar-viewer.cpp @@ -1462,7 +1462,7 @@ void Qucs_S_SPAR_Viewer::update_X_axis() xAxis->setRange(x_min, x_max); // Set the range of the axis xAxis->setTickInterval(x_div); // Set the interval between ticks xAxis->setTickCount(floor((x_max-x_min)/x_div)+1); - xAxis->setTitleText("frequency " + QCombobox_x_axis_units->currentText()); + xAxis->setTitleText("frequency (" + QCombobox_x_axis_units->currentText() + ")"); // Add the axis to the chart chart->addAxis(xAxis, Qt::AlignBottom);