add offset

This commit is contained in:
Conor Barnes 2022-08-22 11:42:21 -03:00
parent c3bb0ba291
commit 376e272c08
2 changed files with 4 additions and 0 deletions

3
.gitignore vendored
View File

@ -7,3 +7,6 @@ yarn-error.log
**/.sync.ffs_db **/.sync.ffs_db
.direnv .direnv
.log .log
.vscode
todo.txt

View File

@ -239,6 +239,7 @@ export function buildVegaSpec(
x: { x: {
scale: "xscale", scale: "xscale",
field: "x", field: "x",
offset: 0.5,
}, },
y: { y: {
scale: "yscale", scale: "yscale",