I saw in tutorial GetTimeByBarIndex. Is it possible to use it in OnRender?
I would like to get only the time for a barIndex.
I want to use it DrawTestFixed
Draw.TextFixed(this,"Time", "Time: "+ ChartBars.GetTimeByBarIdx(ChartControl, foundIndex).ToString("N2"), TextPosition.TopLeft, Brushes.Lime, new SimpleFont("Courier New", 16), Brushes.Transparent, Brushes.Transparent, 10);
Obviously its not N2, any tips?
Ty
Comment