set class on labelsDiv
authorDan Vanderkam <dan@dygraphs.com>
Wed, 27 Jul 2011 07:25:22 +0000 (03:25 -0400)
committerDan Vanderkam <dan@dygraphs.com>
Wed, 27 Jul 2011 07:25:22 +0000 (03:25 -0400)
dygraph.js

index dcc555c..ca396e1 100644 (file)
@@ -783,6 +783,7 @@ Dygraph.prototype.createStatusMessage_ = function() {
       "overflow": "hidden"};
     Dygraph.update(messagestyle, this.attr_('labelsDivStyles'));
     var div = document.createElement("div");
+    div.className = "dygraph-legend";
     for (var name in messagestyle) {
       if (messagestyle.hasOwnProperty(name)) {
         div.style[name] = messagestyle[name];