be a little less aggressive in underlayCallback changes
[dygraphs.git] / tests / two-axes.html
index e6b1b6d..78c0fb2 100644 (file)
             labelsKMB: true
           }
       );
+
+      function update(el) {
+        g.updateOptions( { fillGraph: el.checked } );
+        g2.updateOptions( { fillGraph: el.checked } );
+      }
     </script>
+
+    <input type=checkbox id="check" onChange="update(this)"><label for="check"> Fill?</label>
 </body>
 </html>