How about chaning this:
> data = addRow( data );
>
to just
addRow(data);
That way it's clear you're trying to do a by-reference call. Next, I'd
change:
> function addRow( var data ) {
>
to just
function addRow(data) {
And then I'd remove the line "return( data ); " in that same function;
there's no need to return if you're doing this by reference.
That should do the trick.
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/dLwMpL-qL3EJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.