method Element.FitToClient ()
Resizes or/and moves the entire chart to fit the element.

TypeDescription
Ensures that current element fits the surface's client area.