[chronojump] drawn 0 line for jumps simple, runs simple, reaction times



commit dcb963b9ebd1bf4aeba8b306ae637ab928e37c3a
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Jun 10 07:41:02 2020 +0200

    drawn 0 line for jumps simple, runs simple, reaction times

 src/gui/eventExecute.cs | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
---
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index 1dbcf112..3d16b7e8 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -1067,6 +1067,10 @@ public partial class ChronoJumpWindow
 
                drawGuideOrAVG(pen_yellow_discont, eventGraph.personAVGAtSQL, alto, ancho, topMargin, 
bottomMargin, maxValue, minValue, guideWidthEnum.FULL);
 
+               //paint the 0 line
+               event_execute_pixmap.DrawLine(pen_black_90,
+                               10, alto -bottomMargin -1,
+                               ancho -10, alto -bottomMargin -1);
 
                //calculate separation between series and bar width
                int tctfSep = 0; //separation between tc and tf
@@ -1356,6 +1360,11 @@ public partial class ChronoJumpWindow
 
                drawGuideOrAVG(pen_yellow_discont, eventGraph.personAVGAtSQL, alto, ancho, topMargin, 
bottomMargin, maxValue, minValue, guideWidthEnum.FULL);
 
+               //paint the 0 line
+               event_execute_pixmap.DrawLine(pen_black_90,
+                               10, alto -bottomMargin -1,
+                               ancho -10, alto -bottomMargin -1);
+
                //calculate bar width
                int distanceBetweenCols = 
Convert.ToInt32((ancho-event_execute_rightMargin)*(1+.5)/eventGraph.runsAtSQL.Length) -
                        Convert.ToInt32((ancho-event_execute_rightMargin)*(0+.5)/eventGraph.runsAtSQL.Length);
@@ -1417,6 +1426,11 @@ public partial class ChronoJumpWindow
                drawGuideOrAVG(pen_yellow, eventGraph.personMINAtSQL, alto, ancho, topMargin, bottomMargin, 
maxValue, minValue, guideWidthEnum.FULL);
                drawGuideOrAVG(pen_yellow_discont, eventGraph.personAVGAtSQL, alto, ancho, topMargin, 
bottomMargin, maxValue, minValue, guideWidthEnum.FULL);
 
+               //paint the 0 line
+               event_execute_pixmap.DrawLine(pen_black_90,
+                               10, alto -bottomMargin -1,
+                               ancho -10, alto -bottomMargin -1);
+
                int x = 0;
                int y = 0;
                int count = eventGraph.rtsAtSQL.Length;


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