Certainly you can delay the drawing of the diff chart further, just by
wrapping the draw call with a setTimeout.  That shouldn't be necessary,
however, if you are waiting for both the old and new data to arrive before
proceeding to draw the diff chart.   Can you share your latest code?

On Tue, Nov 21, 2017 at 4:51 PM, Uwe Dornbusch <uwe.dornbusc...@gmail.com>
wrote:

> Thanks Daniel!
> Ok, I get that the data may not come at the same time (as a non-programmer
> I would have thought that at least once the function has completed the data
> would be 'there' :-) ).
> Having put your suggestions into the code, the diff chart still does not
> draw.
> Does this suggest the data only 'arrives' after the functions have run?
> Refrechi8ng the html page certainly takes a few seconds for the first two
> graphs to appear but whether this delay is in getting the data (the
> spreadsheet is updating itself) or in drawing it i don't know.
> Is is possible to delay execution of the darwChartDiff()?
>
> Thanks again!
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to google-visualization-api@
> googlegroups.com.
> Visit this group at https://groups.google.com/
> group/google-visualization-api.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-visualization-api/77b0b63e-76a3-4ce1-9e96-
> d3f1bdcf8487%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/77b0b63e-76a3-4ce1-9e96-d3f1bdcf8487%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
dlalibe...@google.com <dlalibe...@google.com>   5CC, Cambridge MA

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJMDwD_2MPB%3DGvLqKCY9bwaVzQB%3DApQxVzyTQotTu%2BhhQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to