X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=plugins%2Flegend.js;h=66408b627d97cec64cefba5b4495b5df893420be;hb=4d9f1cb951055e2325c0b966d1f40278c8addd47;hp=35f30b0215463e5b34272da25d0b29c1af4b63c3;hpb=0cd1ad15aefb3bd6507886e4cbba0d7587a56610;p=dygraphs.git diff --git a/plugins/legend.js b/plugins/legend.js index 35f30b0..66408b6 100644 --- a/plugins/legend.js +++ b/plugins/legend.js @@ -88,7 +88,7 @@ legend.prototype.activate = function(g) { try { div.style[name] = messagestyle[name]; } catch (e) { - this.warn("You are using unsupported css properties for your " + + Dygraph.warn("You are using unsupported css properties for your " + "browser in labelsDivStyles"); } } @@ -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; };