protected double CalculateXFromTimeOrBarIndex( ChartVisualArgs args, DateTime time, ref int barIndex )