[chronojump] Fixed encoder barplot height related to historical since last commits



commit 29c5293b45ecef86349413b54a379678b7b69613
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Jun 8 10:35:46 2020 +0200

    Fixed encoder barplot height related to historical since last commits

 src/gui/encoderGraphObjects.cs | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/gui/encoderGraphObjects.cs b/src/gui/encoderGraphObjects.cs
index c7e84f62..03293e33 100644
--- a/src/gui/encoderGraphObjects.cs
+++ b/src/gui/encoderGraphObjects.cs
@@ -415,7 +415,10 @@ public class EncoderGraphDoPlot
                         * if ! relativeToSet, then Preferences.EncoderPhasesEnum.BOTH, so maxAbsoluteForCalc 
== maxAbsoluteForGraph
                         */
                        if(maxPowerSpeedForceIntersession > maxAbsoluteForCalc)
+                       {
                                maxAbsoluteForCalc = maxPowerSpeedForceIntersession;
+                               maxAbsoluteForGraph = maxPowerSpeedForceIntersession;
+                       }
                }
 
                //calculate maxAbsoluteSecondary (will be secondary variable)


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