Skip to content

LITE Fix - Remove blur on graph lines and graph legend text#710

Merged
erikdarlingdata merged 5 commits intoerikdarlingdata:devfrom
dphugo:fix/remove-blur-on-graphs
Mar 26, 2026
Merged

LITE Fix - Remove blur on graph lines and graph legend text#710
erikdarlingdata merged 5 commits intoerikdarlingdata:devfrom
dphugo:fix/remove-blur-on-graphs

Conversation

@dphugo
Copy link

@dphugo dphugo commented Mar 26, 2026

What does this PR do?

The legend text in v2.4.1 is blurry for graphs, other than the bottom one as can be seen here:
image
Here the axis text and some of the bounding box lines are blurry:
image

After the change is applied the legend text of the top graph is no longer blurry:
image
The axis text and bounding box lines are no longer blurry:
image

Which component(s) does this affect?

  • Full Dashboard
  • Lite Dashboard
  • Lite Tests
  • SQL collection scripts
  • CLI Installer
  • GUI Installer
  • Documentation

How was this tested?

  • SQL Server version(s) tested against: SQL Server 2022
  • Steps to verify the change works: I've toggled the code during a debug session to visually verify that the blur disappears when code is added.

Checklist

  • I have read the contributing guide
  • My code builds with zero warnings (dotnet build -c Debug)
  • I have tested my changes against at least one SQL Server version
  • I have not introduced any hardcoded credentials or server names

@dphugo dphugo marked this pull request as ready for review March 26, 2026 11:51
Copy link
Owner

@erikdarlingdata erikdarlingdata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good — clean, minimal fix for a real visual issue.

  • Covers all 4 XAML files that reference ScottPlot (MainWindow.xaml hosts ServerTab.xaml with the chart, plus the 3 history windows). Nothing missed.
  • TextFormattingMode="Display" + UseLayoutRounding="True" is the standard WPF fix for subpixel blur on text and lines. Both properties inherit down the visual tree, so setting them on the Window is the right place.
  • No side effects to non-chart content.

Nice screenshots in the PR description too — the before/after difference is clear. Thanks for the contribution!

@erikdarlingdata erikdarlingdata merged commit 672f792 into erikdarlingdata:dev Mar 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants