ToIndex
Definition
An index value representing the last bar rendered on the chart. See also FromIndex.
This value is NOT the last value that exists on the ChartBars, but rather the last bar index that is within the viewable range of the chart canvas area. This value changes as the user interacts with the ChartControl time-scale (x-axis).
Property Value
An int representing the last bar index painted on the chart.
Syntax
ChartBars.ToIndex

