The Rays lost for just the third time in 14 games.
Cody Ross singled in two runs in the first and Chavez hit a two-run homer in the third to double the lead. Chavez also had an RBI single in the seventh and Paul Goldschmidt ended the scoring with a solo homer in the ninth.
Jeremy Hellickson (10-4) suffered his first loss since June 13, a span of eight starts. He surrendered four runs on seven hits in 4 1/3.
Pregnant Mila Kunis wins 'Best Villain' at MTV Movie Awards
Pistorius testifies he didn't consciously pull trigger when he shot girlfriend