Robert/Eugene,
Please take a look at the DrawText command. It appears that the coordinates for the pixels are measured from the upper left hand of the Strategy Window and not the Chart Pane.
The following code should illustrate this. The text is written on the correct pane but the pixels are not measured from the upper left corner of each pane. DrawText works great for the top pane of a Strategy Window but not for the lower panes.
CODE:
Please log in to see this code.
Thanks
Size:
Color:
Yes Roy, it's known.
Most likely, when working with GDI+, it's hard to determine a pane's upper left corner. I take it as the upper pane's left corner reference is 0, thereby the coordinates for the pixels are measured from the upper left corner rather than the particular ChartPane.
We all will have to live with it though - there's always a more important task than that.
Size:
Color: