Inheritance: IUpdatable
示例#1
0
 public LineView(DrawingLine line, Pad pad)
 {
     this.line = line;
     this.pad = pad;
     this.toolTipEnabled = true;
     this.toolTipFormat = "{0} {1} {2} - {3:F6}";
     this.chartFirstDate = new DateTime(Math.Min(line.X1.Ticks, line.X2.Ticks));
     this.chartLastDate = new DateTime(Math.Max(line.X1.Ticks, line.X2.Ticks));
 }
示例#2
0
 public LineView(DrawingLine line, Pad pad)
 {
     this.line           = line;
     this.pad            = pad;
     this.toolTipEnabled = true;
     this.toolTipFormat  = "{0} {1} {2} - {3:F6}";
     this.chartFirstDate = new DateTime(Math.Min(line.X1.Ticks, line.X2.Ticks));
     this.chartLastDate  = new DateTime(Math.Max(line.X1.Ticks, line.X2.Ticks));
 }
示例#3
0
 public void DrawLine(DrawingLine line, int padNumber)
 {
     lock (this.lockObject)
     {
         if (!this.volumePadShown && padNumber > 1)
             --padNumber;
         LineView local_0 = new LineView(line, this.pads[padNumber]);
         line.Updated += new EventHandler(this.OnPrimitiveUpdated);
         this.pads[padNumber].AddPrimitive((IChartDrawable)local_0);
         local_0.SetInterval(this.leftDateTime, this.rightDateTime);
         this.contentUpdated = true;
     }
 }
示例#4
0
 public void DrawLine(DrawingLine line, int padNumber)
 {
     throw new NotImplementedException();
 }