X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=gallery%2Fsynchronize.js;h=3fd85b89fbd1b66ea4c5bd205f049cc7b0e274d1;hb=3f55b813316f73082795fe52f6cf26e9f1592f12;hp=8e1eb770f8d9e05f6e67c8d5e94c7f8d1bf5710f;hpb=fa5a85c4dd16f4d9607d784b3cd0ca8fb9878c76;p=dygraphs.git diff --git a/gallery/synchronize.js b/gallery/synchronize.js index 8e1eb77..3fd85b8 100644 --- a/gallery/synchronize.js +++ b/gallery/synchronize.js @@ -1,19 +1,18 @@ -// Use this as a template for new Gallery entries. Gallery.register( 'synchronize', { name: 'Synchronization', title: 'Multiple graphs in sync', setup: function(parent) { - parent.innerHTML = - "

Zooming and panning on any of the charts will zoom and pan all the" + - "others.

" + - "

" + - "" + - "" + - "" + - "" + - "
"; + parent.innerHTML = [ + "

Zooming and panning on any of the charts will zoom and pan all the", + "others.

", + "

", + "", + "", + "", + "", + "
"].join("\n"); }, run: function() { gs = [];