From cb0ed22a7755e6e018366d1da46305f9191a25d3 Mon Sep 17 00:00:00 2001 From: Alan Morris Date: Fri, 28 Aug 2026 12:13:48 -0600 Subject: [PATCH] Fix #2644 - Studio: correspondence quality chart x-axis extends to zero instead of the first sampleStudio: correspondence quality chart x-axis extends to zero instead of the first sample --- Studio/Utils/AnalysisUtils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Studio/Utils/AnalysisUtils.cpp b/Studio/Utils/AnalysisUtils.cpp index 377fff1cbf..cc2d434edf 100644 --- a/Studio/Utils/AnalysisUtils.cpp +++ b/Studio/Utils/AnalysisUtils.cpp @@ -148,7 +148,8 @@ void AnalysisUtils::create_ranked_plot(JKQTPlotter* plot, const std::vectorgetPlotter(), 0, value, 1, 0, QColor(120, 120, 120), 1, Qt::DashLine); + // anchored on the first sample so zoomToFit() does not stretch the axis back to zero + auto* line = new JKQTPGeoInfiniteLine(plot->getPlotter(), 1, value, 1, 0, QColor(120, 120, 120), 1, Qt::DashLine); line->setTwoSided(true); plot->addGraph(line); }