From 376e272c08fa38b55de01ec5c3ca88a7948a589d Mon Sep 17 00:00:00 2001 From: Conor Barnes Date: Mon, 22 Aug 2022 11:42:21 -0300 Subject: [PATCH] add offset --- .gitignore | 3 +++ packages/components/src/lib/distributionSpecBuilder.ts | 1 + 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 5b48f91c..c05ec659 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,6 @@ yarn-error.log **/.sync.ffs_db .direnv .log + +.vscode +todo.txt \ No newline at end of file diff --git a/packages/components/src/lib/distributionSpecBuilder.ts b/packages/components/src/lib/distributionSpecBuilder.ts index 2b3ac952..aec730f3 100644 --- a/packages/components/src/lib/distributionSpecBuilder.ts +++ b/packages/components/src/lib/distributionSpecBuilder.ts @@ -239,6 +239,7 @@ export function buildVegaSpec( x: { scale: "xscale", field: "x", + offset: 0.5, }, y: { scale: "yscale",