diff options
author | William Carroll <wpcarro@gmail.com> | 2023-01-13T00·38-0800 |
---|---|---|
committer | wpcarro <wpcarro@gmail.com> | 2023-01-17T21·13+0000 |
commit | a9d866c7759bc6ac0ffde5e048c15ca846ca05f4 (patch) | |
tree | 3ca4b61c50c0d8acff08939425debf47a3bf3995 /users/wpcarro/ynabsql/dataviz/index.js | |
parent | 0d4f3433deffd127075209480427f43b4c5c4e6a (diff) |
feat(wpcarro/slx): Match against all columns r/5681
With `MATCH_ALL` type. Change-Id: I2fe537c2b277a86be5c04a27da088f31fe7eb09e Reviewed-on: https://cl.tvl.fyi/c/depot/+/7817 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
Diffstat (limited to 'users/wpcarro/ynabsql/dataviz/index.js')
-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); }, }, |