Overwrite line heights: http://code.google.com/p/dygraphs/issues/detail?id=152
authorDan Vanderkam <dan@dygraphs.com>
Fri, 23 Mar 2012 20:21:20 +0000 (16:21 -0400)
committerDan Vanderkam <dan@dygraphs.com>
Fri, 23 Mar 2012 20:21:20 +0000 (16:21 -0400)
dygraph.js
tests/multi-scale.html

index c60eccc..3f3b5a5 100644 (file)
@@ -1014,6 +1014,7 @@ Dygraph.prototype.createStatusMessage_ = function() {
       "top": "0px",
       "left": (this.width_ - divWidth - 2) + "px",
       "background": "white",
+      "lineHeight": "normal",
       "textAlign": "left",
       "overflow": "hidden"};
     Dygraph.update(messagestyle, this.attr_('labelsDivStyles'));
index b10cd93..d328d94 100644 (file)
@@ -7,6 +7,11 @@
     <script type="text/javascript" src="../excanvas.js"></script>
     <![endif]-->
     <script type="text/javascript" src="../dygraph-dev.js"></script>
+    <style type="text/css">
+    body {
+      line-height: 150%;
+    }
+    </style>
   </head>
   <body style="max-width: 700px;">
     <p>Gridlines and axis labels make charts easier to understand. They give