[bugfix] NaN issue in Big Number viz (#1346)

This commit is contained in:
Maxime Beauchemin 2016-10-14 15:08:52 -07:00 committed by GitHub
parent b669a14081
commit 7a3bcc227c

View File

@ -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)