From 793c9e88b6d66be54ba16e865a24fb48a2a8f83f Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Tue, 29 Jan 2013 14:25:24 -0500 Subject: [PATCH] add advice about delaying dygraph instantiation when using excanvas. --- docs/index.html | 7 +++++++ 1 file changed, 7 insertions(+) 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