var data = "something here";
var callback = function() { drawVisualization(data); };
google.load("visualization", "1", {packages:["table"], callback: callback});
On Thu, Dec 16, 2010 at 12:10 PM, valugi <[email protected]> wrote:
> I have defined a function drawVisualization that works well, but I want to
> pass some data to it.
>
> The visualization is started like this, how can I pass a parameter to
> drawVisualization( data )?
>
> google.load("visualization", "1", {packages:["table"], callback:
> drawVisualization});
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-visualization-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
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.