public DSView DrawSeries(TimeSeries series, int padNumber, Color color, SimpleDSStyle style, SearchOption option, SmoothingMode smoothingMode) { lock (this.lockObject) { if (!this.volumePadShown && padNumber > 1) --padNumber; DSView local_0 = new DSView(this.pads[padNumber], series, color, option, smoothingMode); local_0.Style = style; this.pads[padNumber].AddPrimitive(local_0); local_0.SetInterval(this.leftDateTime, this.rightDateTime); this.contentUpdated = true; return local_0; } }
public void DrawSeries(TimeSeries series, int padNumber, Color color, SearchOption option) { lock (this.lockObject) { if (!this.volumePadShown && padNumber > 1) --padNumber; var view = new DSView(this.pads[padNumber], series, color, option, this.TimeSeriesSmoothingMode); this.pads[padNumber].AddPrimitive(view); view.SetInterval(this.leftDateTime, this.rightDateTime); this.contentUpdated = true; } }