From: Dan Vanderkam Date: Tue, 29 Jan 2013 19:25:24 +0000 (-0500) Subject: add advice about delaying dygraph instantiation when using excanvas. X-Git-Tag: v1.0.0~113 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;ds=sidebyside;h=793c9e88b6d66be54ba16e865a24fb48a2a8f83f;p=dygraphs.git add advice about delaying dygraph instantiation when using excanvas. --- diff --git a/docs/index.html b/docs/index.html index 97a0d4a..6671696 100644 --- a/docs/index.html +++ b/docs/index.html @@ -408,6 +408,13 @@ new Dygraph(el, data, {

Most browsers will ignore the trailing comma, but it will break under IE.

+

You may also need to delay instantiating any dygraphs until after the DOM + content is ready, as there have been some reports + that excanvas won't work until this happens. If you're using jQuery, this + means drawing your charts inside of a $(function() { ... }) + block.

+

GViz Data

The