diff --git a/bare-metrics-gui/src/background_loader.rs b/bare-metrics-gui/src/background_loader.rs index 3b0e07b..14a08f8 100644 --- a/bare-metrics-gui/src/background_loader.rs +++ b/bare-metrics-gui/src/background_loader.rs @@ -516,7 +516,7 @@ impl MetricsLogReaderManager { points: vec![], y_axis: 0.0..=0.0, }; - let scale_factor = 1.0 / (time_unit as f64); + let scale_factor = time_unit as f64; let mut last_val = data.points[0]; for next_val in data.points[1..].iter() {