##// END OF EJS Templates
Removed unused log
perrinel -
r316:42fd44da8641
parent child
Show More
@@ -59,8 +59,8 void updateScalarData(QCPAbstractPlottable *component, ScalarSeries &scalarSerie
59 59 xValue.resize(n);
60 60 vValue.resize(n);
61 61
62 qCInfo(LOG_VisualizationGraphHelper()) << "TORM: Current points displayed" << xValue.count()
63 << dateTime;
62 qCInfo(LOG_VisualizationGraphHelper()) << "TORM: Current points displayed"
63 << xValue.count();
64 64
65 65 qcpGraph->setData(xValue, vValue);
66 66
@@ -87,7 +87,6 void VisualizationGraphWidget::addVariableUsingGraph(std::shared_ptr<Variable> v
87 87 auto grapheRange = ui->widget->xAxis->range();
88 88 auto dateTime = SqpDateTime{grapheRange.lower, grapheRange.upper};
89 89 variable->setDateTime(dateTime);
90 qCInfo(LOG_VisualizationGraphWidget()) << "ADD Variable with range : " << dateTime;
91 90
92 91 auto variableDateTimeWithTolerance = dateTime;
93 92
@@ -96,9 +95,6 void VisualizationGraphWidget::addVariableUsingGraph(std::shared_ptr<Variable> v
96 95 variableDateTimeWithTolerance.m_TStart -= tolerance;
97 96 variableDateTimeWithTolerance.m_TEnd += tolerance;
98 97
99 qCInfo(LOG_VisualizationGraphWidget()) << "ADD Variable with range TOL: "
100 << variableDateTimeWithTolerance;
101
102 98 // Uses delegate to create the qcpplot components according to the variable
103 99 auto createdPlottables = VisualizationGraphHelper::create(variable, *ui->widget);
104 100
@@ -170,8 +166,7 void VisualizationGraphWidget::onGraphMenuRequested(const QPoint &pos) noexcept
170 166
171 167 void VisualizationGraphWidget::onRangeChanged(const QCPRange &t1)
172 168 {
173
174 qCInfo(LOG_VisualizationGraphWidget()) << tr("VisualizationGraphWidget::onRangeChanged");
169 qCDebug(LOG_VisualizationGraphWidget()) << tr("VisualizationGraphWidget::onRangeChanged");
175 170
176 171 for (auto it = impl->m_VariableToPlotMultiMap.cbegin();
177 172 it != impl->m_VariableToPlotMultiMap.cend(); ++it) {
@@ -180,7 +175,6 void VisualizationGraphWidget::onRangeChanged(const QCPRange &t1)
180 175 auto dateTime = SqpDateTime{t1.lower, t1.upper};
181 176
182 177 if (!variable->contains(dateTime)) {
183 qCInfo(LOG_VisualizationGraphWidget()) << dateTime << variable->dateTime();
184 178
185 179 auto variableDateTimeWithTolerance = dateTime;
186 180 if (variable->intersect(dateTime)) {
General Comments 0
You need to be logged in to leave comments. Login now