add style param for dot size