Displaygraph will be called 1 time, cleaner calender/period code