From a412f96f3a0e0e32813abb4e535b86ee16c282fb Mon Sep 17 00:00:00 2001 From: leonarski_f Date: Mon, 22 Jun 2026 12:13:39 +0200 Subject: [PATCH] viewer: give the current-image plot marker a fixed colour The current-image marker (a scatter series) was picking an arbitrary theme colour (green), which read as a stray series. Pin it to black so it's an unambiguous "current image" dot, distinct from the run line colours. Its legend entry is already hidden. Co-Authored-By: Claude Opus 4.8 --- viewer/charts/JFJochDatasetInfoChartView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/viewer/charts/JFJochDatasetInfoChartView.cpp b/viewer/charts/JFJochDatasetInfoChartView.cpp index 9dc5e79a..c2f7cda0 100644 --- a/viewer/charts/JFJochDatasetInfoChartView.cpp +++ b/viewer/charts/JFJochDatasetInfoChartView.cpp @@ -228,6 +228,8 @@ void JFJochDatasetInfoChartView::buildTimeDomainChart() { if (primary_color_.isValid()) series->setColor(primary_color_); currentSeries = new QScatterSeries(this); + currentSeries->setColor(Qt::black); // "current image" marker: fixed, not a run colour + currentSeries->setMarkerSize(9.0); double dispMin = std::numeric_limits::infinity(); double dispMax = -std::numeric_limits::infinity();