mirror of
https://github.com/ra3xdh/qucs_s
synced 2025-03-28 21:13:26 +00:00
Put the x-axis unit inside parenthesis
This commit is contained in:
parent
2d00287e3f
commit
7c1fe57b5d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user