1) There seems to be an adverse interaction with autoscale. I had it turned on in B3, and it worked fine. Not so fine in B4, so I turned it off (confirmed by looking at the Text instance in VS). Even with Text's autoscale off, as I move the cursor (and therefore the text box) up and down the price plot gets more and more compressed. That is true even when I am very careful to not get the text box anywhere near the top or bottom of the chart. Anything that forces the chart to redraw (e.g. F5, or moving the chart left or right) restores the vertical scale properly. Any information on why that happens would be most welcome -- right now it looks to me as if the interaction between text box and autoscale got broken.
2) There is a Text data member that is potentially VERY helpful for positioning the text box -- layoutRect. Unfortunately, it is not usable, due to its protection level. PLEASE make this publicly readable! All of my positioning to date has been a seat-of-the-pants hack; using layoutRect has the potential to make positioning finally be correct.
(BTW: for those who counseled using Font.Size -- that is 12, while the true line height is about 13.8. I have hard-coded the value discovered with the debugger, but that will, of course, be wrong if I change the font I am using. layoutRect really does need to be publicly visible.)
--EV
Comment