X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=plugins%2Fchart-labels.js;h=2aaae269ac86199a6988967ab2e0de3ef9944221;hb=5bd8dcae4411250991e8b1315222dda1dec370f8;hp=34775fced4451dd2c1b90e16a0a405df4a0e7bb8;hpb=42a9ebb8f492d2541a3904894447a7c74ba4cfd5;p=dygraphs.git diff --git a/plugins/chart-labels.js b/plugins/chart-labels.js index 34775fc..2aaae26 100644 --- a/plugins/chart-labels.js +++ b/plugins/chart-labels.js @@ -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';