This seems to be working fine to me, without separating the queries into two
functions, drawChart1 and drawChart2. Note that you need to change the
if(result.isError()) {
to
if(result2.isError()) {
in the second query response handler. If this is still not working, can you
provide a live (and simplified as much as possible) example?
On Fri, Jun 25, 2010 at 10:35 AM, TonyJ <[email protected]> wrote:
> Hi! I tried this, but alas, I can't make it work - it only ever seems
> to call which ever callback I set first, never both of them. Any
> pointers?
>
> Many thanks in advance,
>
> Tony.
>
> On Jun 24, 5:54 am, Eiko <[email protected]> wrote:
> > Separate the queries into two functions, drawChart1 and drawChart2 and
> > then:
> >
> > google.setOnLoadCallback(drawChart1);
> > google.setOnLoadCallback(drawChart2);
> >
> > Hope this helps.
>
> --
> 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.