FirstTimePainted
<< Click to Display Table of Contents >> FirstTimePainted |
Indicates a DateTime value of the first bar painted on the chart.
FirstTimePainted provides the timestamp of the first bar, NOT the time at which the bar was painted. For example, if a chart was opened and historical bars drawn on August 2nd at 5:00 pm, but the first bar on the chart is painted at a time-axis value of July 31st at 1:00 am, then FirstTimePainted will return the July 31st date and time.
A DateTime object containing information on the timestamp of the first bar of the chart.
<ChartControl>.FirstTimePainted
protected override void OnRender(ChartControl chartControl, ChartScale chartScale) |
In the image below, FirstTimePainted reveals that the first painted slot corresponds to 8/12/17 at 10:40:00 AM.