From: Robert Konigsberg Date: Tue, 17 Jan 2012 00:32:03 +0000 (-0500) Subject: Reduce the size of some overly-long graphs. OK, that's subjective, but if you don... X-Git-Tag: v1.0.0~320^2~9 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=10eef8e905e04438e7599e0a3db683ab9cdfe9f7;p=dygraphs.git Reduce the size of some overly-long graphs. OK, that's subjective, but if you don't like the resizes, we can always undo this isolated change. --- diff --git a/gallery/drawing.js b/gallery/drawing.js index eef3091..6443cf4 100644 --- a/gallery/drawing.js +++ b/gallery/drawing.js @@ -10,7 +10,7 @@ Gallery.register( "
", "
", "", - "
", + "
", "

Toolbar/cursor icons are CC-licensed from ", "FatCow.

"].join("\n"); }, diff --git a/gallery/dynamic-update.js b/gallery/dynamic-update.js index 0eb82bb..6bb34ee 100644 --- a/gallery/dynamic-update.js +++ b/gallery/dynamic-update.js @@ -5,7 +5,7 @@ Gallery.register( title: 'Live random data', setup: function(parent) { parent.innerHTML = [ - "
", + "
", "

This test is modeled after a ", "highcharts", "test. New points should appear once per second. Try zooming and ", diff --git a/gallery/plotter.js b/gallery/plotter.js index 268ea88..be39eb3 100644 --- a/gallery/plotter.js +++ b/gallery/plotter.js @@ -19,11 +19,11 @@ Gallery.register( "", "

", "", - "

x range: ", - " to

", - "

", + "

x range: ", + "to

", + "

", "", - "
"].join("\n"); + "
"].join("\n"); }, run: function() { diff --git a/gallery/range-selector.js b/gallery/range-selector.js index 57ac71b..0ea9efa 100644 --- a/gallery/range-selector.js +++ b/gallery/range-selector.js @@ -6,10 +6,10 @@ Gallery.register( setup: function(parent) { parent.innerHTML = [ "

No roll period.

", - "
", + "
", "", "

Roll period of 14 timesteps, custom range selector height and plot color.

", - "
"].join("\n"); + "
"].join("\n"); }, run: function() { g1 = new Dygraph( diff --git a/gallery/stock.js b/gallery/stock.js index cb7fe3e..4c6af6d 100644 --- a/gallery/stock.js +++ b/gallery/stock.js @@ -5,8 +5,8 @@ Gallery.register( title: 'Stock Chart Demo', setup: function(parent) { parent.innerHTML = [ - "

", - "
", + "

", + "
", "  ", " ", "
"].join("\n"); diff --git a/gallery/temperature-sf-ny.js b/gallery/temperature-sf-ny.js index d903b8b..c8e4fb1 100644 --- a/gallery/temperature-sf-ny.js +++ b/gallery/temperature-sf-ny.js @@ -7,9 +7,9 @@ Gallery.register( setup: function(parent) { parent.innerHTML = [ "

Roll period of 14 timesteps.

", - "
", + "
", "

No roll period.

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