Thank you for the suggestion!

An issue does occur though, since the user is allowed to specify the
number of items they wish to compare, each with its own query, I won't
be able to specifically make a unique callback function for each
query. I thought about maybe cycling different callbacks based on your
suggestion but that assumes that there won't be a point where they'd
overlap or cycle back through to one that is still waiting for a
response. I have consulted about changing the server side to supply
something to help and this may help prove my case but until then any
other idea will be greatly appreciated.

On Feb 27, 11:24 pm, VizGuy <[email protected]> wrote:
> I suggest just calling each query with a different callback function, and
> then you can take it from there.
> Alternatively, if you own the server side that creates the tables, you may
> add some custom property on the table layer with a serial number, and refer
> to it when merging them (but this requires the server to know the order, so
> its not always possible).
>
> Regards,
> VizGuy
>
>
>
> On Sat, Feb 27, 2010 at 3:27 AM, Kend <[email protected]> wrote:
> > Recently I've been attempting to combine multiple queries into one
> > table with Javascript in order to compare the results. There are
> > particular things that need to be modified on the DataTable that is
> > returned so that they are easily distinguishable in a single Google
> > Visualization. Because of the time it takes for a query to complete,
> > the DataTables do not get returned in the same order as they are sent.
> > Is there a way to give each query a parameter that can be accessed
> > from the Response so I can distinguish between DataTables? Any help is
> > greatly appreciated.
>
> > --
> > 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.- Hide quoted 
> >text -
>
> - Show quoted text -

-- 
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