diff --git a/src/PlanViewer.App/Controls/WaitProfileBarControl.axaml.cs b/src/PlanViewer.App/Controls/WaitProfileBarControl.axaml.cs index 61cfb81..9de88d0 100644 --- a/src/PlanViewer.App/Controls/WaitProfileBarControl.axaml.cs +++ b/src/PlanViewer.App/Controls/WaitProfileBarControl.axaml.cs @@ -113,7 +113,7 @@ private void Redraw() Canvas.SetTop(rect, 0); BarCanvas.Children.Add(rect); - ToolTip.SetTip(rect, $"{seg.Category}: {seg.WaitRatio:P2} ({seg.Ratio:P1} of total)"); + ToolTip.SetTip(rect, $"{seg.Category}: {WaitRatioFormatter.Format(seg.WaitRatio)} ({seg.Ratio:P1} of total)"); var capturedCategory = seg.Category; rect.PointerPressed += (_, e) => diff --git a/src/PlanViewer.App/Controls/WaitStatsProfileControl.axaml b/src/PlanViewer.App/Controls/WaitStatsProfileControl.axaml index 66bd23b..d8368da 100644 --- a/src/PlanViewer.App/Controls/WaitStatsProfileControl.axaml +++ b/src/PlanViewer.App/Controls/WaitStatsProfileControl.axaml @@ -3,46 +3,33 @@ xmlns:local="using:PlanViewer.App.Controls" x:Class="PlanViewer.App.Controls.WaitStatsProfileControl"> - - -