Inheritance: IUpdatable
Example #1
0
 public RayView(DrawingRay ray, Pad pad)
 {
     this.ray = ray;
     Pad = pad;
     this.toolTipEnabled = true;
     this.toolTipFormat = "{0} {1} {2} - {3:F6}";
     int index = pad.Series.GetIndex(ray.X, IndexOption.Prev);
     if (index == -1)
         return;
     this.chartFirstDate = pad.Series.GetDateTime(index);
     this.chartLastDate = DateTime.MaxValue;
 }
Example #2
0
        public RayView(DrawingRay ray, Pad pad)
        {
            this.ray            = ray;
            Pad                 = pad;
            this.toolTipEnabled = true;
            this.toolTipFormat  = "{0} {1} {2} - {3:F6}";
            int index = pad.Series.GetIndex(ray.X, IndexOption.Prev);

            if (index == -1)
            {
                return;
            }
            this.chartFirstDate = pad.Series.GetDateTime(index);
            this.chartLastDate  = DateTime.MaxValue;
        }