You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Viewer charts: tick labels, axis titles and legends are tiny on a high-DPI screen (250% scaling) #6678
On a high-DPI screen, the Viewer's chart text is much smaller than the rest of the window. Tick labels, axis titles and legends are drawn at about 40% of their intended size, so they are hard to read.
What I saw
The Darling Viewer on a 3840x2400 laptop panel at 250% Windows scaling, while #6674 (#6652) was checked. This happened on Blocking > Trends, tempdb, File I/O Latency, Queries > Performance Trends and the Overview lanes, at both window sizes tried (1366x768 and 1549x925 in device-independent pixels):
The window's own text (tabs, buttons, grid cells) is scaled by Windows as expected.
In the ScottPlot charts, the tick labels and legend entries are about 5 device-independent pixels tall. The y-axis titles are smaller still.
Likely cause
The charts are drawn in device pixels, and their font sizes are taken as device pixels. Nothing sets ScottPlot's scale factor from the window's DPI. The code already converts mouse positions with VisualTreeHelper.GetDpi in CorrelatedTimelineLanesControl.xaml.cs, FinOpsTab.ObjectHeatmap.cs and ViewerServerTab.QueryHeatmap.cs, but no chart's text is scaled the same way. Lite uses the same ScottPlot package and the same chart styling, so it probably shows the same thing; check it too.
Expected
At any Windows scaling, chart text is the same size, relative to the window's own text, as it is at 100%. The mouse hit-testing (tooltips, the timeline lanes, the heatmaps) still lands on the right point. #6674's axis-title fit to the plot height still works at every scaling.
How to verify
Open those chart tabs at 100% and at 250% scaling, in the Viewer and in Lite. The chart text keeps the same size relative to the tab headers at both scalings.
Activity
Chart text keeps its size at high Windows scaling (#6678) (#6687)
erikdarlingdata commentedon Oct 24, 2026
Claude posting for Erik Darling. Fixed on dev by #6687 (d659bef). Ships in the next release.