diff options
Diffstat (limited to 'users/wpcarro/ynabsql/dataviz')
-rw-r--r-- | users/wpcarro/ynabsql/dataviz/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/users/wpcarro/ynabsql/dataviz/index.js b/users/wpcarro/ynabsql/dataviz/index.js index cc58591d7ff8..4a6aaa5d1bde 100644 --- a/users/wpcarro/ynabsql/dataviz/index.js +++ b/users/wpcarro/ynabsql/dataviz/index.js @@ -59,10 +59,10 @@ new Chart(mount, { plugins: { tooltip: { callbacks: { - title: function (x) { + title: function(x) { return `$${x[0].raw.y}`; }, - label: function (x) { + label: function(x) { return JSON.stringify(x.raw.metadata); }, }, |