public new Daily this[DateTime date, EIndexOption option] { get { return(base[date, option] as Daily); } }
public new Daily this[DateTime date, EIndexOption option] { get { return base[date, option] as Daily; } }
public new PnF this[DateTime datetime, EIndexOption option] { get { return ((TimeSeries)this)[datetime, option] as PnF; } }
public new PnF this[DateTime datetime, EIndexOption option] { get { return(((TimeSeries)this)[datetime, option] as PnF); } }
public new double this[DateTime datetime, EIndexOption option] { get { this.Calculate(); return(base[datetime, option]); } }
public DSView(Pad pad, DoubleSeries series, Color color, EIndexOption option, SmoothingMode smoothing) : base(pad) { this.mainSeries = series; this.option = option; this.KNRy1kSrcC = color; this.IXfyvDxxVL = smoothing; this.ToolTipFormat = "toool"; // this.ToolTipFormat = this.toolTipFormat.Replace(FJDHryrxb1WIq5jBAt.mT707pbkgT(2828), pad.Chart.LabelDigitsCount.ToString()); }
public new double this[DateTime datetime, EIndexOption option] { get { object obj = base[datetime, option]; if (obj != null) { return((double)obj); } throw new Exception("invalid datetime or option" + datetime + option); } }
public object this[DateTime datetime, EIndexOption option] { get { int index = this.GetIndex(datetime, option); if (index != -1) { return(this.fArray[index]); } else { return(null); } } }
public virtual int GetIndex(DateTime datetime, EIndexOption option) { int index = this.fArray.IndexOf(datetime); if (index == -1 && option != EIndexOption.Null) { switch (option) { case EIndexOption.Next: index = this.fArray.IndexOf(datetime, SearchOption.Next); break; case EIndexOption.Prev: index = this.fArray.IndexOf(datetime, SearchOption.Prev); break; } } return(index); }
public object this[DateTime datetime, EIndexOption option] { get { int index = this.GetIndex(datetime, option); if (index != -1) return this.fArray[index]; else return null; } }
public DSView(Pad pad, DoubleSeries series, EIndexOption option) : this(pad, series, Color.White, option, SmoothingMode.AntiAlias) { }
public new double this[DateTime datetime, EIndexOption option] { get { this.Calculate(); return base[datetime, option]; } }
public virtual int GetIndex(DateTime datetime, EIndexOption option) { int index = this.fArray.IndexOf(datetime); if (index == -1 && option != EIndexOption.Null) { switch (option) { case EIndexOption.Next: index = this.fArray.IndexOf(datetime, SearchOption.Next); break; case EIndexOption.Prev: index = this.fArray.IndexOf(datetime, SearchOption.Prev); break; } } return index; }
public override int GetIndex(DateTime datetime, EIndexOption option) { this.Calculate(); return(base.GetIndex(datetime, option)); }
public override int GetIndex(DateTime datetime, EIndexOption option) { this.Calculate(); return base.GetIndex(datetime, option); }
public void DrawSeries(DoubleSeries series, int padNumber, Color color, SimpleDSStyle style, EIndexOption option, SmoothingMode smoothingMode) { lock(this.dataLock) { if (!this.volumePadShown && padNumber > 1) --padNumber; DSView view = new DSView(this.pads[padNumber], series, color, option, smoothingMode); view.Style = style; this.pads[padNumber].AddPrimitive(view); view.SetInterval(this.leftDateTime, this.rightDateTime); this.contentUpdated = true; } }
public new double this[DateTime datetime, EIndexOption option] { get { object obj = base[datetime, option]; if (obj != null) return (double)obj; throw new Exception("invalid datetime or option" + datetime + option); } }