The train chart is usually prepared a few hours before the train's scheduled departure time. The exact time may vary depending on the train and the route, but it is typically prepared between 3-4 hours before the scheduled departure time. However, in some cases, the chart may be prepared earlier or later than this depending on various factors such as the availability of seats, late running of trains, etc.