How to make a graduated panel stretch to full width of the diagram?

Normally when one has the size of a shape dependent on the size of its part, that could cause problems because the size of a panel is usually dependent on the size of its elements. But it could work in this case. So is everything OK now?