Trying to get the graphs on the dashboard to have real data.  I have added a bunch of debug statements trying to find all of the pieces of information I need, but they seem to be behaving inconsistently.  My comment on line 15 in the dashboard index explains the trouble.