Info box on time series in perspective

hello, I am wondering for the info box in time series, how could you make it on right side when you look at the left side the graph, and the info box on left side when you look at right side. Because it would be hidden when you at the far edge of the graph, like the example below:

@mbai1, if you provide a wdith value to the xtrace display the encloses your text, the display will flip automatically when it runs out of room. That interaction is all determined by that width value:

thanks got it works