Skip to content

Commit

Permalink
Fixed big number issue (#1355)
Browse files Browse the repository at this point in the history
  • Loading branch information
vera-liu committed Oct 15, 2016
1 parent 4fc8a17 commit 2095095
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion caravel/assets/visualizations/big_number.js
Expand Up @@ -75,7 +75,8 @@ function bigNumberVis(slice) {
.style('cursor', 'pointer')
.text(f(v))
.style('font-size', d3.min([height, width]) / 3.5)
.attr('fill', 'white');
.style('text-anchor', 'middle')
.attr('fill', 'black');

// Printing big number subheader text
if (json.subheader !== null) {
Expand Down

0 comments on commit 2095095

Please sign in to comment.