set default linestyle for grid line