From: Dan Vanderkam Date: Fri, 8 Feb 2013 20:41:01 +0000 (-0500) Subject: add a (non-breaking) space between series name and value in the legend (Issue 307) X-Git-Tag: v1.0.0~98 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;ds=sidebyside;h=29eb854db403e37fa6c0bd44a2b07c80ae86e001;p=dygraphs.git add a (non-breaking) space between series name and value in the legend (Issue 307) --- diff --git a/plugins/legend.js b/plugins/legend.js index 35f30b0..7406f82 100644 --- a/plugins/legend.js +++ b/plugins/legend.js @@ -245,7 +245,7 @@ generateLegendHTML = function(g, x, sel_points, oneEmWidth) { // TODO(danvk): use a template string here and make it an attribute. html += "" + " " + - pt.name + ":" + yval + ""; + pt.name + ": " + yval + ""; } return html; };