jfjoch_viewer: Remove verbose in chart plotting
This commit is contained in:
@@ -18,8 +18,6 @@ JFJochSimpleChartView::JFJochSimpleChartView(QWidget *parent)
|
||||
//setRubberBand(QChartView::RubberBand::HorizontalRubberBand);
|
||||
}
|
||||
|
||||
#include <iostream>
|
||||
|
||||
void JFJochSimpleChartView::UpdateData(const std::vector<float> &in_x, const std::vector<float> &in_y,
|
||||
QString legend_x, QString legend_y, bool in_one_over_d) {
|
||||
one_over_d = in_one_over_d;
|
||||
@@ -86,7 +84,6 @@ void JFJochSimpleChartView::UpdateData(const std::vector<float> &in_x, const std
|
||||
}
|
||||
const double scaled = v / std::pow(10.0, chosenExp);
|
||||
QString num = QString::number(scaled, 'g', std::max(1, precision)); // ~ trimming effect
|
||||
std::cout << v << " " << num.toStdString() << std::endl;
|
||||
return (chosenPre && *chosenPre) ? num + QStringLiteral(" ") + QString::fromUtf8(chosenPre) : num;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user