Skip to content

Commit

Permalink
fix outdated references to snapTicks
Browse files Browse the repository at this point in the history
  • Loading branch information
mhkeller committed Mar 10, 2024
1 parent 8429be6 commit 3d0afda
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/routes/_examples/Bar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<AxisX
tickMarks
baseline
snapTicks
snapLabels
/>
<AxisY
tickMarks
Expand Down
2 changes: 1 addition & 1 deletion src/routes/_examples/MultiLine.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
gridlines={false}
ticks={data.map(d => d[xKey]).sort((a, b) => a - b)}
format={formatLabelX}
snapTicks
snapLabels
tickMarks
/>
<AxisY
Expand Down
2 changes: 1 addition & 1 deletion src/routes/_examples_ssr/Bar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<AxisX
gridlines
baseline
snapTicks
snapLabels
/>
<AxisY gridlines={false} tickMarks/>
</Html>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/_examples_ssr/BarStacked.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<Html>
<AxisX
baseline
snapTicks
snapLabels
format={formatLabelX}
/>
<AxisY
Expand Down
3 changes: 1 addition & 2 deletions src/routes/_examples_ssr/MultiLine.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,10 @@
gridlines={false}
ticks={data.map(d => d[xKey]).sort((a, b) => a - b)}
format={formatLabelX}
snapTicks
snapLabels
tickMarks
/>
<AxisY
baseline
format={formatLabelY}
/>
</Html>
Expand Down

0 comments on commit 3d0afda

Please sign in to comment.