Keep the ticks whose labels do not collide on a horizontal axis. The first and the last are always kept; a tick in between is dropped when its label would come within gapPx of the one before it or of the last one.
gapPx
Keep the ticks whose labels do not collide on a horizontal axis. The first and the last are always kept; a tick in between is dropped when its label would come within
gapPxof the one before it or of the last one.