Merge branch 'master' of https://github.com/danvk/dygraphs
[dygraphs.git] / plugins / legend.js
index 35f30b0..7406f82 100644 (file)
@@ -245,7 +245,7 @@ generateLegendHTML = function(g, x, sel_points, oneEmWidth) {
 
     // TODO(danvk): use a template string here and make it an attribute.
     html += "<span" + cls + ">" + " <b><span style='color: " + series.color + ";'>" +
-        pt.name + "</span></b>:" + yval + "</span>";
+        pt.name + "</span></b>:&nbsp;" + yval + "</span>";
   }
   return html;
 };