Skip to content

Commit

Permalink
fix!: change default bar and rect's default timeUnitBandPosition to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
kanitw committed Oct 9, 2023
1 parent 270bfef commit a838428
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -657,14 +657,14 @@ export const defaultBarConfig: RectConfig<SignalRef> = {
binSpacing: 1,
continuousBandSize: DEFAULT_RECT_BAND_SIZE,
minBandSize: 0.25,
timeUnitBandPosition: 0.5
timeUnitBandPosition: 0
};

export const defaultRectConfig: RectConfig<SignalRef> = {
binSpacing: 0,
continuousBandSize: DEFAULT_RECT_BAND_SIZE,
minBandSize: 0.25,
timeUnitBandPosition: 0.5
timeUnitBandPosition: 0
};

export interface TickConfig<ES extends ExprRef | SignalRef> extends MarkConfig<ES>, TickThicknessMixins {
Expand Down

0 comments on commit a838428

Please sign in to comment.