Annotation draw
Posted: Thu May 12, 2005 9:05 pm
I am using a Annotation tool as a footer, with custom positioning. The position is set initially on chart creation, and whenever the chart is resized.
The tool is not displayed when the chart is first displayed, even though the OnResize() event is triggered. The reason is that the tool->Shape height is 1, even though there are three lines of text in the tool.
If the user then manually resizes the form (by any method), the tool is displayed, and stays in the correct location.
I tried OnAfterDraw, OnBeforeDrawSeries, and other events, but tool dimensions seem to be established after these events.
??
Kevin
The tool is not displayed when the chart is first displayed, even though the OnResize() event is triggered. The reason is that the tool->Shape height is 1, even though there are three lines of text in the tool.
If the user then manually resizes the form (by any method), the tool is displayed, and stays in the correct location.
I tried OnAfterDraw, OnBeforeDrawSeries, and other events, but tool dimensions seem to be established after these events.
??
Kevin