Data Logger to SD to LCD

I need a push in the right direction...or maybe a brick upside the head.

I am looking to graph temperature data from an SD card onto a 3.2 TFT LCD. I would like to know what I should be researching/studying to make this happen?
All my searches lead me to Processing and graphing to a computer via Serial port, but that's not exactly what I want.

I would like to graph the data directly to this screen

I would like it to default display current 7 days (in Green = 1), and then if I need I can call 7 days at a time each week a different color...Button numbers 1 through 4.

Saving the data with the data logger to the SD card should be simple enough for me to handle.

I would like to know how I should structure this code?

Is there a simple code to set up the graph x & y coordinates?

If so, I think I can then write a function to print the data to the LCD and use drawline from the UTFT library.
I also want it to overwrite data older than the 28 days.

Thanks for any help! I just need a good idea of how I should structure the code.

There is no data actually plotted in that picture. So, the first question is whether you have all the skills and tools needed to replicate just that picture?

If so, then adding a few more lines that actually represent data collected over some period of time will be trivial.

I just need a good idea of how I should structure the code.

Create functions to draw the vertical axis, the horizontal axis, the grid, the title, and the footer.

Create a function to populate an array with data from the SD card, collecting 7 values at a time, for some defined range of dates.

Create a function to graph that data in the same coordinate system as the grid.

Hi Steve, where did you get that graph table from?

I think all you need is the pixel drawing procedure, and this would depend on the library you are using. This thread

http://forum.arduino.cc/index.php?topic=238252.msg1711075#msg1711075

shows graph drawing using the Henning Karlsen library, which has excellent documentation, even though I had a lot of grief getting my display to work with it, and the data draw is staightforward enough. Here, the data is from sensors, but handling it from myfile reads would be much the same.

I imagine other libraries have similar procedures.