[chronojump] forceSensorAnalyze manual: AB vertical lines start at 1 and penultim value



commit acec12fb87c42567b6be4785e3282344ba3f015b
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed May 9 14:43:53 2018 +0200

    forceSensorAnalyze manual: AB vertical lines start at 1 and penultim value

 src/gui/forceSensorAnalyze.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/forceSensorAnalyze.cs b/src/gui/forceSensorAnalyze.cs
index 06dcb90..09132cd 100644
--- a/src/gui/forceSensorAnalyze.cs
+++ b/src/gui/forceSensorAnalyze.cs
@@ -523,8 +523,8 @@ public partial class ChronoJumpWindow
                forceSensorAIPlot();
 
                //ranges should have max value the number of the lines of csv file minus the header
-               hscale_force_sensor_ai_a.SetRange(0, fsAI.GetLength() -1);
-               hscale_force_sensor_ai_b.SetRange(0, fsAI.GetLength() -1);
+               hscale_force_sensor_ai_a.SetRange(1, fsAI.GetLength() -2);
+               hscale_force_sensor_ai_b.SetRange(1, fsAI.GetLength() -2);
 
                //to update values
                on_hscale_force_sensor_ai_a_value_changed (new object (), new EventArgs ());


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]