Hi Thomas.

There shouldn't be no harm in calling the API more than one time, except for
some time penalty of this call (the code itself would probably be sent only
once though).

If you want to avoid this situation and you know in advance what modules you
would need for all the charting needs of the page, you can consider loading
the API only once in advance instead of loading it when you need to draw a
visualization.

Hope this helps,
  Viz Kid

On Wed, Apr 21, 2010 at 1:13 AM, tamsler <[email protected]> wrote:

> In my GWT application, a user can click on a row in a table. That
> click event then creates a visualization. The grid's RowClick handler
> bootstraps the visualization by making a call to:
>
> VisualizationUtils.loadVisualizationApi(..., ...)
>
> So, I am wandering if there is any harm of making multiple calls to:
> VisualizationUtils.loadVisualizationApi(..., ...) ?
>
> Best,
> -- Thomas
>
> --
> 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.

Reply via email to