TPaveLabel (TBox) replacement problem

Dear ROOT’ers,

I have a problem with changing the position of TPaveLabel on chart. After calling the methods SetX1, X2, Y1, Y2 on the TPaveLabel object, my script updates the canvas (using canvas->Draw()). This ensures that all other modifications of the graph become visible. Unfortunately this update cancels my change on the TPaveLabel. Before canvas update the GetX1, X2, Y1, Y2 return my loaded values. But after canvas update these methods return values, which were before my change the TPaveLabel position. As a result, there is no replacement effect.

Does anyone know a solution to this problem?

SOLVED

It was necessary to use methods like SetX1NDC(…)