GetTimeBySlotIndex()
<< Click to Display Table of Contents >> GetTimeBySlotIndex() |
Returns a time value relative to the chart control corresponding to a specified slot index.
Notes: •A "Slot" is used in Equidistant bar spacing and represents a position on the chart canvas background which may or may not contain a bar. The concept of "Slots" does NOT exist on a TimeBased bar spacing type. •If you are looking for information on a bar series, please see ChartBars.GetTimeByBarIdx() •For slot index values in the future, an estimation of time will be returned. It is not possible to predict the future time of a bar for all bar series (i.e., tick/volume based bars) |
A DateTime object corresponding the a specified slot index; returns DateTime value for 'now' on a time based bar spacing type
slotIndex |
The slot index used to determine a time value |
protected override void OnRender(ChartControl chartControl, ChartScale chartScale) |