Add 'dotSize' option.

It can take either a number or a function that returns a number.
By default it returns (minWidth + maxWidth) / 2.