X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-canvas.js;h=522629cc024ddc09fd51fd9dc01a86e1c17f3b3b;hb=91c10d9cdfcc6171e19cc5d3d42b4a14d2093a7b;hp=b4004e0d0f51d63d7b903d6c2dcc7c9774479430;hpb=b56b6993ddcd594f46d93c3fff74d1f41ab86ac3;p=dygraphs.git diff --git a/dygraph-canvas.js b/dygraph-canvas.js index b4004e0..522629c 100644 --- a/dygraph-canvas.js +++ b/dygraph-canvas.js @@ -658,7 +658,7 @@ DygraphCanvasRenderer.prototype._renderChartLabels = function() { div.style.width = this.area.w + 'px'; div.style.height = this.attr_('titleHeight') + 'px'; div.style.textAlign = 'center'; - div.style.fontSize = (this.attr_('titleHeight') - 2) + 'px'; + div.style.fontSize = (this.attr_('titleHeight') - 8) + 'px'; div.style.fontWeight = 'bold'; var class_div = document.createElement("div"); class_div.className = 'dygraph-label dygraph-title';