From: Klaus Weidner Date: Tue, 11 Jun 2013 18:38:12 +0000 (-0700) Subject: Fix graphs created in not-displayed divs. X-Git-Tag: v1.0.0~21^2 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=c28088bca853c359d62bd49d29b05a238423f354;hp=c28088bca853c359d62bd49d29b05a238423f354;p=dygraphs.git Fix graphs created in not-displayed divs. This distinguishes two cases: - graphs with explicit height/width in graph options. They should be drawn correctly after display, no resize needed. - graphs without explicit height/width are supposed to inherit the size from the surrounding div. They needs a .resize() call after display. Tests are included for both. Fixes issue 238. ---