commit a8ed45d20f747ab80b5f6cf6911cc913fd625c2c Author: Iain R. Learmonth irl@fsfe.org Date: Sun Dec 17 11:46:34 2017 +0000
Use Source Sans Pro for graph per style guide --- js/views/aggregate/map.js | 1 - js/views/details/main.js | 3 --- 2 files changed, 4 deletions(-)
diff --git a/js/views/aggregate/map.js b/js/views/aggregate/map.js index 1e1bca4..9789913 100644 --- a/js/views/aggregate/map.js +++ b/js/views/aggregate/map.js @@ -112,7 +112,6 @@ define([ svg.append("text") .attr("x", 30) .attr("y", height-(i*5+0.5)*20 ) - .style("font-family", "Helvetica") .style("font-size", "12px") .style("fill", "#484848") .text("" + (Math.pow(i,2)* maximum_value*100).toFixed(3) + "%"); diff --git a/js/views/details/main.js b/js/views/details/main.js index 7f0770f..221b9c0 100644 --- a/js/views/details/main.js +++ b/js/views/details/main.js @@ -66,7 +66,6 @@ define([ xAxisContainer.selectAll("minor") .style("stroke-opacity", .5); xAxisContainer.selectAll("text") - .style("font-family", "Helvetica") .style("font-size", "12px");
/* Add the y axis. */ @@ -86,7 +85,6 @@ define([ yAxisContainer.selectAll("minor") .style("stroke-opacity", .5); yAxisContainer.selectAll("text") - .style("font-family", "Helvetica") .style("font-size", "12px");
/* Add one group per data line. */ @@ -150,7 +148,6 @@ define([ .attr("x", legendPos[i][0] - margin.left + 15) .attr("y", legendPos[i][1] - margin.top + 14) .style("fill", colors[i]) - .style("font-family", "Helvetica") .style("font-size", "12px") .text(labels[i]); });
tor-commits@lists.torproject.org