You can prevent the chandelier from swinging or twisting by replacing the chain from which it hangs with a sturdy and stiff rod. Ensure that the rod is capable of bearing the weight of the chandelier.