start y-label port; not working yet
[dygraphs.git] / plugins / legend.js
index 9a7caf9..5f7ac7e 100644 (file)
@@ -210,7 +210,7 @@ var generateLegendHTML = function(g, x, sel_points, oneEmWidth) {
   var xOptView = g.optionsViewForAxis_('x');
   var xvf = xOptView('valueFormatter');
   html = xvf(x, xOptView, labels[0], g);
-  if(html) {
+  if(html !== '') {
        html += ':';
   }