LITE Fix - Remove blur on graph lines and graph legend text#710
Merged
erikdarlingdata merged 5 commits intoerikdarlingdata:devfrom Mar 26, 2026
Merged
Conversation
v2.2.0: Fix SignPath signing
Release v2.3.0
Release v2.4.0
Release v2.4.1
UseLayoutRounding="True" to Windows that render graphs to remove blur on graph lines and legend text.
erikdarlingdata
approved these changes
Mar 26, 2026
Owner
erikdarlingdata
left a comment
There was a problem hiding this comment.
Looks good — clean, minimal fix for a real visual issue.
- Covers all 4 XAML files that reference ScottPlot (
MainWindow.xamlhostsServerTab.xamlwith 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!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:


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


The axis text and bounding box lines are no longer blurry:
Which component(s) does this affect?
How was this tested?
Checklist
dotnet build -c Debug)