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?
|
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; |
|
} |
Bug Description
If you try the example in the docs, you will see that changing
bandSizehas no effect either for vertical or horizontal ticks. Changing the argument name tosizeinstead will change the length of the tick as expected.Is the wrong parameter name exported for
tickConfig, so it should besizeinstead ofbandSize? (and the docstring changed tolengthinstead ofwidth?vega-lite/src/mark.ts
Lines 671 to 680 in b9f3b14