Place the dish in the oven and bake for 20 minutes.
Remove the pan from the oven and arrange the plums and onion rings in the dish. Make sure the chicken legs are on top so they brown. Brush the plums and onion rings with the rest of the rosemary oil. Return the dish to the oven and bake for another 20 minutes.