Skip to content

Commit

Permalink
typically bound to the scale
Browse files Browse the repository at this point in the history
  • Loading branch information
Fil committed Mar 30, 2023
1 parent 71827ca commit db64216
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions src/marks/tick.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,30 @@ import type {Data, MarkOptions, RenderableMark} from "../mark.js";

/** Options for the tickX mark. */
export interface TickXOptions extends MarkOptions, Omit<InsetOptions, "insetLeft" | "insetRight"> {
/** The horizontal position of the tick; a channel bound to the *x* scale. */
/**
* The horizontal position of the tick; a channel typically bound to the *x*
* scale.
*/
x?: ChannelValueSpec;

/**
* The vertical position of the tick; an optional categorical channel bound to
* the *y* scale.
* The vertical position of the tick; an optional categorical channel
* typically bound to the *y* scale.
*/
y?: ChannelValueSpec;
}

/** Options for the tickY mark. */
export interface TickYOptions extends MarkOptions, Omit<InsetOptions, "insetTop" | "insetBottom"> {
/** The vertical position of the tick; a channel bound to the *y* scale. */
/**
* The vertical position of the tick; a channel typically bound to the *y*
* scale.
*/
y?: ChannelValueSpec;

/**
* The horizontal position of the tick; an optional categorical channel bound
* to the *x* scale.
* The horizontal position of the tick; an optional categorical channel
* typically bound to the *x* scale.
*/
x?: ChannelValueSpec;
}
Expand Down

0 comments on commit db64216

Please sign in to comment.