[chronojump] CairoPaintBarsPreJumpReactive again with two bars (tcsum, tvsum)



commit 1621e14834c9925c792374382df25ef7843733ea
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Sep 27 09:15:35 2021 +0200

    CairoPaintBarsPreJumpReactive again with two bars (tcsum, tvsum)

 src/gui/eventExecute.cs | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index e67ac3bb2..111492cd6 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -3066,7 +3066,7 @@ public class CairoPaintBarsPreJumpReactive : CairoPaintBarsPre
                int bottomMargin = cb.GetBottomMarginForText (maxRowsForText, fontHeightForBottomNames);
 
 
-               List<PointF> pointA0_l = new List<PointF>();
+               //List<PointF> pointA0_l = new List<PointF>();
                List<PointF> pointA1_l = new List<PointF>();
 
                List<PointF> pointB_l = new List<PointF>();
@@ -3080,7 +3080,7 @@ public class CairoPaintBarsPreJumpReactive : CairoPaintBarsPre
                        double valueA = jump.TcSumCaringForStartIn;
                        double valueB = jump.TvSum;
 
-                       pointA0_l.Add(new PointF(countToDraw, jump.Jumps));
+                       //pointA0_l.Add(new PointF(countToDraw, jump.Jumps));
                        pointA1_l.Add(new PointF(countToDraw, valueA));
 
                        pointB_l.Add(new PointF(countToDraw, valueB));
@@ -3115,11 +3115,11 @@ public class CairoPaintBarsPreJumpReactive : CairoPaintBarsPre
                                        ));
 
                List<List<PointF>> pointSecondary_l = new List<List<PointF>>();
-               pointSecondary_l.Add(pointA0_l);
+               //pointSecondary_l.Add(pointA0_l);
                pointSecondary_l.Add(pointA1_l);
                cb.PassPointSecondaryList(pointSecondary_l);
 
-               cb.GraphDo (pointA0_l, pointB_l, names_l,
+               cb.GraphDo (pointA1_l, pointB_l, names_l,
                                fontHeightForBottomNames, bottomMargin, title);
        }
 }


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