X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=gallery%2Ftemperature-sf-ny.js;fp=gallery%2Ftemperature-sf-ny.js;h=d903b8b779c41cf326851a89f18e91c5bd197bcb;hb=605b6119bcc80db4ea100d66df3483425dcd32af;hp=8f43d1e7655219f1d085842747d08f6262fc2321;hpb=7e464a9190b90caaed5611ada2148d3328183b16;p=dygraphs.git diff --git a/gallery/temperature-sf-ny.js b/gallery/temperature-sf-ny.js index 8f43d1e..d903b8b 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(