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 <tonyjew...@gmail.com> 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 <eikosaedra-...@yahoo.com> 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
> google-visualization-...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-visualization-api+unsubscr...@googlegroups.com<google-visualization-api%2bunsubscr...@googlegroups.com>
> .
> 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 google-visualization-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-visualization-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to