Skip to main content

Module dodge2

Module dodge2 

Source

Structs§

PositionDodge2
Like position_dodge but preserves total width and adds padding between groups (ggplot2’s position_dodge2(width, padding, reverse)). Elements are centred exactly as PositionDodge places them; on a continuous axis xmin/xmax shrink to (1 − padding) of each group’s share.