From ddb080f25bfc29e6139e24754007a681ddf556d5 Mon Sep 17 00:00:00 2001 From: Erik Darling <2136037+erikdarlingdata@users.noreply.github.com> Date: Wed, 18 Feb 2026 20:38:16 -0500 Subject: [PATCH] Fix duration chart hover tooltips, Dashboard grid lines, time range button hover MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Wire ChartHoverHelper Clear/Add calls into all 4 Lite duration chart update methods (collector, query, proc, query store) — hover tooltips now show series name, value, and timestamp - Bump Dashboard chart grid line alpha from 40 to 50 (was invisible) - Add TimeRangeButton style with accent border + text brighten on hover for the hour picker buttons (1h/4h/8h/12h/24h/7d/30d) Partial fix for #110, fixes Lite #121 Co-Authored-By: Claude Opus 4.6 --- Dashboard/Helpers/TabHelpers.cs | 2 +- Dashboard/ServerTab.xaml | 14 ++++++------ Dashboard/Themes/DarkTheme.xaml | 38 +++++++++++++++++++++++++++++++++ Lite/Controls/ServerTab.xaml.cs | 8 +++++++ 4 files changed, 54 insertions(+), 8 deletions(-) diff --git a/Dashboard/Helpers/TabHelpers.cs b/Dashboard/Helpers/TabHelpers.cs index a9cc90c9..67938549 100644 --- a/Dashboard/Helpers/TabHelpers.cs +++ b/Dashboard/Helpers/TabHelpers.cs @@ -132,7 +132,7 @@ public static void ApplyDarkModeToChart(WpfPlot chart) var darkBackground = ScottPlot.Color.FromHex("#22252b"); var darkerBackground = ScottPlot.Color.FromHex("#111217"); var textColor = ScottPlot.Color.FromHex("#9DA5B4"); - var gridColor = ScottPlot.Colors.White.WithAlpha(40); + var gridColor = ScottPlot.Colors.White.WithAlpha(50); chart.Plot.FigureBackground.Color = darkBackground; chart.Plot.DataBackground.Color = darkerBackground; diff --git a/Dashboard/ServerTab.xaml b/Dashboard/ServerTab.xaml index a0b1d7f7..f98c1980 100644 --- a/Dashboard/ServerTab.xaml +++ b/Dashboard/ServerTab.xaml @@ -91,13 +91,13 @@ -