Fixed an issue with the chart title not being visible in IE8 and before. This does...
authorJason Hollingsworth <Jason.M.Hollingsworth@usace.army.mil>
Thu, 25 Oct 2012 15:32:51 +0000 (10:32 -0500)
committerJason Hollingsworth <Jason.M.Hollingsworth@usace.army.mil>
Thu, 25 Oct 2012 15:32:51 +0000 (10:32 -0500)
plugins/chart-labels.js

index 34775fc..2aaae26 100644 (file)
@@ -123,6 +123,7 @@ chart_labels.prototype.layout = function(e) {
     this.title_div_.style.textAlign = 'center';
     this.title_div_.style.fontSize = (g.getOption('titleHeight') - 8) + 'px';
     this.title_div_.style.fontWeight = 'bold';
+    this.title_div_.style.zIndex = 10;
 
     var class_div = document.createElement("div");
     class_div.className = 'dygraph-label dygraph-title';