Skip to content

Tick Config exports bandSize which seemingly has no effect; should it be size?Β #9767

@joelostblom

Description

@joelostblom

Bug Description

If you try the example in the docs, you will see that changing bandSize has no effect either for vertical or horizontal ticks. Changing the argument name to size instead will change the length of the tick as expected.

Is the wrong parameter name exported for tickConfig, so it should be size instead of bandSize? (and the docstring changed to length instead of width?

vega-lite/src/mark.ts

Lines 671 to 680 in b9f3b14

export interface TickConfig<ES extends ExprRef | SignalRef>
extends MarkConfig<ES>, TickThicknessMixins, RectConfig<ES> {
/**
* The width of the ticks.
*
* __Default value:__ 3/4 of step (width step for horizontal ticks and height step for vertical ticks).
* @minimum 0
*/
bandSize?: number;
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions