I'm not quite certain how custom charts work exactly. How does the Plot() function know whether the values I'm charting are for minute, hour, or daily resolution? How does the Plot() function know which minute/hour/day does the value I'm adding to the series corresponds to?

Here is why I'm asking: I am trying to retroactively plot several days into the past. For example, if it is day 5 as far as the algorithm is concerned, I want the algorithm to plot data for days 1-4 on my custom chart. How would I go about achieving that?