X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=plugins%2Flegend.js;h=d0a6fc86f6fd2a9b1a01c9bdf8b459c3ead1946d;hb=e8c635cc4e3c265e88f66b46b689e291531330b6;hp=2ff939879e74a2c55aa064faddad4c8b703f49b5;hpb=335011fd4473f55aaaceb69726d15e0063373149;p=dygraphs.git diff --git a/plugins/legend.js b/plugins/legend.js index 2ff9398..d0a6fc8 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) { - Dygraph.warn("You are using unsupported css properties for your " + + console.warn("You are using unsupported css properties for your " + "browser in labelsDivStyles"); } } @@ -249,7 +249,7 @@ generateLegendHTML = function(g, x, sel_points, oneEmWidth) { // TODO(danvk): use a template string here and make it an attribute. html += "" + " " + - escapeHTML(pt.name) + ": " + yval + ""; + escapeHTML(pt.name) + ": " + yval + ""; } return html; };