positionDodge

fun positionDodge(width: Number? = null): PosOptions

Adjusts position by dodging overlaps to the side.

Examples

Parameters

width

Dodging width, when different to the width of the individual elements. This is useful when you want to align narrow geoms with wider geoms. The value of width is relative and typically ranges between 0 and 1. Values that are greater than 1 lead to overlapping of the objects.