mirror of
https://github.com/apache/superset.git
synced 2024-09-17 11:09:47 -04:00
[bugfix] NaN issue in Big Number viz (#1346)
This commit is contained in:
parent
b669a14081
commit
7a3bcc227c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user