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)); }
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; } }
public void DrawLine(DrawingLine line, int padNumber) { throw new NotImplementedException(); }