Skip to content

Commit

Permalink
fix: apply tickMinStep to gridlines as well (#7061)
Browse files Browse the repository at this point in the history
fixes #7034
  • Loading branch information
domoritz committed Dec 2, 2020
1 parent 522d327 commit 782dc7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/axis.ts
Expand Up @@ -383,7 +383,7 @@ export const AXIS_PROPERTY_TYPE: Record<keyof VgAxis, 'main' | 'grid' | 'both'>
tickColor: 'main',
tickDash: 'main',
tickDashOffset: 'main',
tickMinStep: 'main',
tickMinStep: 'both',
tickOffset: 'both', // Need to be applied to grid axis too, so the grid will align with ticks.
tickOpacity: 'main',
tickRound: 'both', // Apply rounding to grid and ticks so they are aligned.
Expand Down

0 comments on commit 782dc7a

Please sign in to comment.