diff --git a/src/AllPlot.h b/src/AllPlot.h index 86e278d09..7ebe1c593 100644 --- a/src/AllPlot.h +++ b/src/AllPlot.h @@ -140,6 +140,9 @@ class CurveColors : public QObject // Labels foreach(QwtPlotItem *item, plot->itemList(QwtPlotItem::Rtti_PlotMarker)) { + // ignore event / interval markers + if (static_cast(item)->lineStyle() == QwtPlotMarker::VLine) continue; + QwtScaleWidget *x = plot->axisWidget(static_cast(item)->yAxis()); labels.insert(static_cast(item), x); }