X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=inline;f=gallery%2Ftemperature-sf-ny.js;h=c8e4fb188be1513bb2ddbbe324ce2bcde3224160;hb=3bdeeb9b9d123e9e45159a6801b6e7fe74f08690;hp=8f43d1e7655219f1d085842747d08f6262fc2321;hpb=fec166620c2f414377dbb7f48bda943c261df4e4;p=dygraphs.git diff --git a/gallery/temperature-sf-ny.js b/gallery/temperature-sf-ny.js index 8f43d1e..c8e4fb1 100644 --- a/gallery/temperature-sf-ny.js +++ b/gallery/temperature-sf-ny.js @@ -5,11 +5,12 @@ Gallery.register( name: 'Roll Periods and Error Bars', title: 'Demo of a graph with many data points and custom error bars.', setup: function(parent) { - parent.innerHTML = - "
Roll period of 14 timesteps.
" + - "" + - "No roll period.
" + - ""; + parent.innerHTML = [ + "Roll period of 14 timesteps.
", + "", + "No roll period.
", + ""] + .join("\n"); }, run: function() { g1 = new Dygraph(