I see two typos that need to be fixed:

tempData[value.date][pNames] = startingRegistrations;

should be:

tempData[value.date][pName] = startingRegistrations;

("pNames" change to "pName"), and 

var row = [tempDate[x].date];

should be:

var row = [tempData[x].date];

("tempDate" change to "tempData").  Give that a try and see if it works.

On Friday, March 8, 2013 3:29:39 PM UTC-5, Paul Loeb wrote:
>
> Thanks for your quick reply! I think I see what you're getting at, but it 
> isn't working exactly right.
> When I try implementing your solution and run  console.log(tempData), it 
> shows up empty {}
>
> pNames comes out correctly as ["Alpha", "Beta", "Gamma"] 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to