Dominik Moritz
Dominik Moritz
@jheer mentioned that the next version of Vega will fire tooltip events as the cursor moves. With that, we will get the old behavior back (which I agree is preferred).
Vega 4rc is out and so we can fix this now using getItemBoundingClientRect.
I’d love to review a PR. It should be fairly straightforward to implement.
That's what this issue is about. Not, it's not implemented yet.
I agree! Ideally we align to the decimal point. I don't know whether we have a way of knowing whether something is a number since we don't format them. It's...
wouldn't we throw away formatting like trailing 0s?
What if the locale dictates `,` instead of `.` to separate the non-fraction from the fraction part?
Jep, just wanted to make sure we think through the potential problems.
We should also make sure numbers have the same width. See https://medium.com/mission-log/design-better-data-tables-430a30a00d8c (e.g. with `font-variant-numeric: lining-nums tabular-nums;`).
Nice. I guess that tool lets you use auto without making it a dependency? However, I don't see instructions for setting up NPM there.