Fix a bug with transform computation in chartXY
This commit fix a bug with chartXY transform computation when a layout is changed directly via a SetSize.
This commit fix a bug with chartXY transform computation when a layout is changed directly via a SetSize.