Skip to content

Commit

Permalink
[bugfix] NaN issue in Big Number viz (#1346)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch authored Oct 14, 2016
1 parent b669a14 commit 7a3bcc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caravel/assets/visualizations/big_number.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function bigNumberVis(slice) {
const c = scaleColor(vCompare);

// Printing compare %
if (vCompare !== null) {
if (vCompare) {
g.append('text')
.attr('x', width / 2)
.attr('y', (height / 16) * 12)
Expand Down

0 comments on commit 7a3bcc2

Please sign in to comment.